Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com> (cherry picked from commit d6d501ad99137d3d17d3950e48ea768f0c0848d6d48fbb0f3cf05769ea7285c0) (cherry picked from commit 4d824b71cc20b0ab2b5292d78ac8d79c3046b48fa5b70a1c805252f32e491827) (cherry picked from commit 0d3c83fca159371618bee443a192b3b78adc5465ace6a457e5100a0ca334e1d0) (cherry picked from commit 5a73d61002b63c37b7c204a1d01bf712e892fee5bbcc41e83635c4b633215fa3) (cherry picked from commit 34687fb5e96509bcd109122a5b4ea3dac33b1a7d0190a41ff7aa8fa61be968e3) (cherry picked from commit 4a99805fde33bf70d8826d050e3eb8e1403dc3dd1feae7d5c08692e03c889317) (cherry picked from commit 331f08255c04109ba40a9ee6c1cfe95f6e4202c734c33a6c818f70a3bd395171) (cherry picked from commit 3dea69443d4b33dd453537e2ca5bd6b11bfbb58c818bca2f3b5095e5a7a8bc3e) (cherry picked from commit d97e434fcef181dcfce05e1a633c1bd802ca369820cfb4fbfeac716cc7b4eea3) (cherry picked from commit 9e41ee25d9dc356caf7484e62dc447402b4c235a454d4004709dfd7975d439a4) (cherry picked from commit 8f20b3433e0a9f9a3222e561ecd43462828a6a40c76c2b957e4cd75a393b04d7)
28 lines
1.4 KiB
Markdown
28 lines
1.4 KiB
Markdown
# Factory
|
|
|
|
Contains the definition of the packages built on OBS for the SUSE Edge Solution (WIP)
|
|
|
|
This repository is linked to an OBS project: <https://build.opensuse.org/project/show/isv:SUSE:Edge:Factory>
|
|
Every directory in this repository represents a package in that OBS project, those should be synced automatically from this repository.
|
|
|
|
## Testing a fork or a development branch
|
|
|
|
You can create a project in your home space in OBS, use the same prjconf as the one of "isv:SUSE:Edge:Factory", and copy the repositories part of the metadata (adjust self references).
|
|
Then add a scmsync stanza to your metadata like this (adjust repository path and branch):
|
|
|
|
```xml
|
|
<scmsync>https://src.opensuse.org/suse-edge/Factory#main</scmsync>
|
|
```
|
|
|
|
This is done automatically for any PR filed against this repository.
|
|
|
|
## Cutting a release version branch
|
|
|
|
1. Do the appropriate git branch command
|
|
2. Change the project path in `.obs/common.py` file (e.g. from `isv:SUSE:Edge:Factory` to `isv:SUSE:Edge:3.2`)
|
|
3. Change the branch reference in `.obs/common.py` file (e.g. from `main` to `3.2`)
|
|
5. Commit those changes to the new branch and push the new branch
|
|
9. Go take a few cups of coffee/tea/mate/... while waiting for OBS to build everything
|
|
10. Once built do an `osc release` of the project for it to be copied over in the `ToTest` section
|
|
11. Hand over to QA to test whatever is in `ToTest`. (You can continue to work on the base branch if needed meanwhile)
|