Skip to content

Commit

Permalink
Update docs/cli/build/in-obs.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Čermák <[email protected]>
  • Loading branch information
rxbryan and dcermak committed Jun 29, 2024
1 parent fb85f50 commit 8ac1feb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/cli/build/in-obs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 5

# `packit build in-obs`

Submit a build of the present content in the upstream or local repository to [OBS](https://build.opensuse.org/).
Submit a build of the present content in the upstream or local repository to [OBS](https://build.opensuse.org/).

## Requirements

Expand All @@ -19,10 +19,8 @@ Submit a build of the present content in the upstream or local repository to [O

1. [Place a config file for packit in the root of your upstream repository.](/docs/configuration/)

2. The command below would create a SRPM from the present content of a repo and perform `osc commit` with it.
:::note
You should specify a project `--project` else a project name in this form `home:<me>:packit` would be used. Don't expect to see that project on your [OBS](https://build.opensuse.org/) account .
:::
2. The command below creates a tarball (archive) of your repository and commits it along with the spec file to a package with a name corresponding to your upstream project on [OBS](https://build.opensuse.org/). The project defaults to home:$username:packit. Running packit build in-obs a second time creates a new commit in that package.

```
$ cd my/ustream/project/
$ packit build in-obs --project <project_name>
Expand Down Expand Up @@ -50,4 +48,4 @@ You should specify a project `--project` else a project name in this form `home:
monorepo configuration. Use it multiple times to select
multiple packages.Defaults to all the packages listed
inside the config.
-h, --help Show this message and exit.
-h, --help Show this message and exit.

0 comments on commit 8ac1feb

Please sign in to comment.