|
|
| Line 16: |
Line 16: |
| | | | |
| | == Create the package == | | == Create the package == |
| - | [[OBS Light]] cannot create new packages at the moment. You have to use the web UI, or ''osc''. | + | [[OBS_Light_FAQ#How_to_create_a_new_package_.3F_.28from_an_existing_SPEC_file.29 | Procedure is there]] |
| - | | + | |
| - | # Using the web UI: | + | |
| - | #* Go to the project you want to add your package to.
| + | |
| - | #* Go to ''Packages'' tab.
| + | |
| - | #* Click ''Create package''.
| + | |
| - | #* Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended).
| + | |
| - | # Now you should be able to import this package in [[OBS Light]].
| + | |
| - | #* Run <tt>obslightgui</tt>.
| + | |
| - | #* Click ''Import project'' button.
| + | |
| - | #* Select a server from the list or add a new one (not explained here).
| + | |
| - | #* Select your project in the list.
| + | |
| - | #* Select a target and an architecture.
| + | |
| - | #* Give an alias to the project (can be the name of the project, without "''':'''").
| + | |
| - | #* You should now see a list of packages, with the one you created earlier.
| + | |
| - | #* Select it and press ''finish''.
| + | |
| - | # The package is now imported into OBS Light, with status ''broken''.
| + | |
| - | #* In the right panel, tab ''Local directory'', click ''Import file''.
| + | |
| - | #* Select your SPEC file, YAML file and archive.
| + | |
| - | #* The files appear in the list with status ''Added''.
| + | |
| - | #* In the middle panel, click ''Commit changes'', and enter a commit message.
| + | |
| - | #* The files are uploaded on the OBS server, and the package starts to build.
| + | |