Engineer indicates package maintainers of oepkgs.net
You should register in community first, if you want to contribute as engineer. Admin will check the information you provided and accept register if info confirmed. Engineers be capable to use oepkgs.net service to build and publish packages.
Please follow register flow to register.
You can use an online git repo to control your tasks and publish repo after register succeed. The hosted on Gitee, created and controlled by engineer. The URL and active branch name in system should be sent to admin when register.
Please follow Jobs management to manage your repo and task.
Task will run on source code repo webhook trigger. This trigger relies on engineer‘s configuration in source code repo, which descriptive in Gitee Webhook configuration guide.
Personal password is used for authentication when operating in system, which need set by engineer with initial password. The initial password is sent to engineer by admin on register. The initial password can ONLY used for set engineer‘s password, and ONLY valid once.
This repo is created and maintained by engineer after succeed register. the paths and filename are just advice. However, JSON file format should be followed strictly.
└── projects └── openEuler (Name of distro or OS) └── 20.03-LTS (Version of distro or OS) └── archive (Categories of package) └── x (First letter of package name) └── xz (package name) └── openEuler_20.03-LTS_archive_xz_job1.json (Task or job description file)
Above rules are just a suggestion of how to organize, users may create new rules by themselves, remember all tasks must not be given duplicate name in principle.
All project info JSON files should be placed under user self maintained projects directory. The path is advised like below, to avoid duplicate name of tasks.
pmtools is oepkgs.net engineer‘s tool for task and info management.
Engineer should use this tool to manage tasks after register. follow steps below:
Create a task descripton JSON file in projects repo, commit and push
Import the update info to system by pmtools
$ ./oepkgs_pmtools -u username -p passphrase UpdateConfig [-r/--reset]
$ ./oepkgs_pmtools -u username -p passphrase CreateJob/UpdateJob/DeleteJob --rpath path/to/project_name.json
$ ./oepkgs_pmtools -u username -p passphrase JobInfo
Engineer will get a passphrase from admin after register or requested reset. However, when this single use passphrase got, it only can be used to change password, engineer won’t do any other operation in system before password changed.
$ ./oepkgs_pmtools -u username -p passphrase passwd -n/--new new-passphrase
Copyright © oepkgs.net All rights reserved.
版权所有 © oepkgs.net 保留所有权利