Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
B
bst-external
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
BuildStream
bst-external
Commits
ba2ef303
Commit
ba2ef303
authored
7 years ago
by
Jonathan Maw
Browse files
Options
Downloads
Patches
Plain Diff
Fix incorrect formatting of public data documentation
parent
ef7b3d04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!15
Fix things that caused problems while creating a deb from a generic artifact
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bst_external/elements/dpkg_build.py
+29
-25
29 additions, 25 deletions
bst_external/elements/dpkg_build.py
bst_external/elements/dpkg_deploy.py
+33
-28
33 additions, 28 deletions
bst_external/elements/dpkg_deploy.py
with
62 additions
and
53 deletions
bst_external/elements/dpkg_build.py
+
29
−
25
View file @
ba2ef303
...
...
@@ -45,12 +45,13 @@ e.g.
.. code:: yaml
public:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
bst:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
dpkg-data
---------
...
...
@@ -64,13 +65,14 @@ e.g.
.. code:: yaml
public:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
bst:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
name
''''
...
...
@@ -81,9 +83,10 @@ e.g.
.. code:: yaml
public:
dpkg-data:
foo:
name: foobar
bst:
dpkg-data:
bar:
name: foobar
package-scripts
---------------
...
...
@@ -94,15 +97,16 @@ package if they are detected. They are written as raw text. e.g.
.. code:: yaml
public:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
bst:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
"""
...
...
This diff is collapsed.
Click to expand it.
bst_external/elements/dpkg_deploy.py
+
33
−
28
View file @
ba2ef303
...
...
@@ -45,12 +45,13 @@ goes in which package, e.g.
.. code:: yaml
public:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
bst:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
dpkg-data
---------
...
...
@@ -63,13 +64,14 @@ The control field is used to generate the control file for each package, e.g.
.. code:: yaml
public:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
bst:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
name
''''
...
...
@@ -84,18 +86,20 @@ i.e. in an element named foo:
.. code:: yaml
public:
dpkg-data:
bar:
name: foobar
bst:
dpkg-data:
bar:
name: foobar
will be named
"
foobar
"
, while the following data:
.. code:: yaml
public:
dpkg-data:
bar:
...
bst:
dpkg-data:
bar:
...
will create a package named
"
foo-bar
"
...
...
@@ -109,15 +113,16 @@ raw text, e.g.
.. code:: yaml
public:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
bst:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment