You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/bci_build/package/osc/README.md.j2
+14-18Lines changed: 14 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
3
3
{%include'badges.j2'%}
4
4
5
-
This is the openSUSE packaging container image, it includes all the necessary
6
-
software to create and modify packages in the [Open Build
5
+
This is the openSUSE packaging container image that includes all the required
6
+
tools for creating and modifying packages in the [Open Build
7
7
Service](https://build.opensuse.org/) using
8
8
[osc](https://github.com/openSUSE/osc/).
9
9
10
10
11
11
## How to use this container image
12
12
13
-
This container image is intended for interactive usage with your `.oscrc` and
13
+
The container image is intended for interactive usage with a `.oscrc` configuration file and
14
14
the osc cookiejar mounted into the container:
15
15
16
16
```ShellSession
@@ -20,8 +20,7 @@ the osc cookiejar mounted into the container:
20
20
{{ image.pretty_reference }}
21
21
```
22
22
23
-
The above command launches an interactive shell where your local osc config will
24
-
be used. You can then proceed to checkout packages, perform modifications and
23
+
The command launches an interactive shell environment that uses the local osc configuration. You can then check out packages, perform modifications, and
25
24
send submissions to OBS.
26
25
27
26
To work on an already checked out package, mount the current working directory:
@@ -35,8 +34,8 @@ To work on an already checked out package, mount the current working directory:
35
34
```
36
35
37
36
The container entrypoint recognizes whether you are launching it for interactive
38
-
usage or whether you are invoking `osc` directly. For convenience, you can omit
39
-
the command `osc` in the second case. E.g.:
37
+
usage or invoking `osc` directly. You can omit
38
+
the command `osc` in the second case. For example:
40
39
41
40
```ShellSession
42
41
# podman run --rm -it \
@@ -45,24 +44,22 @@ the command `osc` in the second case. E.g.:
45
44
{{ image.pretty_reference }} ls openSUSE:Factory
46
45
```
47
46
48
-
The above command will automatically forward the arguments to `osc` and call
47
+
The command automatically forwards the arguments to `osc` and calls
49
48
`osc ls openSUSE:Factory`.
50
49
51
50
52
51
### Using the image labels
53
52
54
-
The image provides two labels `run` and `runcwd` which include the full command
55
-
to run the `osc` container or run it with the local working directory mounted as
56
-
well.
53
+
The image provides two labels: `run` and `runcwd`. The first includes the full command, to run the `osc` container, while the second to run the container with the local working directory mounted.
57
54
58
-
These labels can be shown via:
55
+
To view the labels, use the following command:
59
56
60
57
```ShellSession
61
58
# podman container runlabel run --display {{ image.pretty_reference }}
0 commit comments