Perform the following procedure to add a software package to Gitee and create a repository with the same name as the added software package in OBS.
Add a new software package by modifying the openeuler/community repository on Gitee.
git clone https://gitee.com/"$username"/community.git
Modify the community repository. The following describes how to add the zip software package to Gitee and add the package to the openEuler:Factory project.
cd community/sig
Find the SIG to which the software package belongs. For example, the zip package belongs to the Base-service SIG. (See the Contributor Guide to find the SIG or project that you are interested in.)
Modify the contents in the corresponding subfolder of the sig folder, such as the project list.
Modify the sig-info.yaml file of the corresponding SIG in the sig folder and add the software package in the form of - src-openeuler/zip. The following uses the zip software package as an example to describe how to modify sig/Base-service/sig-info.yaml:
repositories:
- repo: openeuler/openEuler-rpm-config
- repo: src-openeuler/abseil-cpp
- repo: src-openeuler/acl
- repo: src-openeuler/acpica-tools
- repo: src-openeuler/adcli
- repo: src-openeuler/aide
- repo: src-openeuler/airline
...
- repo: src-openeuler/jansson
- repo: src-openeuler/apr
- repo: src-openeuler/python-lxml
- repo: src-openeuler/zip
name: pkgname
description: about pkgname
upstream: https://somepkg.org/
branches:
- name: master
type: protected
type: public
OBS uses the source service to obtain the source code. The _service file is required for using the source service. When a software package is added, openEuler automatically uses the tar_scm_kernel_repo plug-in to pull code. You can modify the _service file of the corresponding software package in the src-openeuler/obs_meta repository. The procedure is as follows:
git clone https://gitee.com/"$username"/obs_meta.git
cd obs_meta/master/openEuler:Factory/
vim "package_name"/service Modify the _service file as required. (package_name indicates the name of the software package whose _service file needs to be customized.)
Submit a PR. After the PR is merged, the modified _service file is synchronized to the repository.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )