... | ... | @@ -49,8 +49,8 @@ Project repo is expected to have a top-level `distro` directory containing all * |
|
|
|
|
|
```
|
|
|
distro
|
|
|
├── .apkg <- apkg configuration and other files such as custom plugins/packaging styles
|
|
|
│ ├── config.yaml
|
|
|
├── config <- apkg configuration and other files such as custom plugins/packaging styles
|
|
|
│ ├── apkg.yaml
|
|
|
│ └── plugins
|
|
|
├── common <- shared packaging files such as systemd services
|
|
|
│ └── project.service
|
... | ... | @@ -76,7 +76,7 @@ Furthermore, having packaging templates in a dedicated `distro/pkg/` directory h |
|
|
* `distro/` can contain arbitrary distro-related dirs as needed without affecting template discovery
|
|
|
* every `distro/pkg/*` dir is expected to be a valid packaging template - this makes discovery and management much easier in comparison to a case where some dirs are templates and some dirs are other unrelated things.
|
|
|
|
|
|
`distro/.apkg/config.yaml` configuration file will be used to define/override project-specific behavior.
|
|
|
`distro/config/apkg.yaml` (or similar) configuration file will be used to define/override project-specific behavior.
|
|
|
|
|
|
|
|
|
### Output
|
... | ... | @@ -193,7 +193,7 @@ creates source archive from current (or specified) repo commit in `pkg/archives/ |
|
|
```
|
|
|
$> apkg get-archive [1.2.3]
|
|
|
```
|
|
|
downloads upstream archive for current commit (or specified version) into `pkg/archives/upstream/*` - requires archive URL configuration, supports signatures too. Such config can be stored in `distro/.apkg/config.yaml`
|
|
|
downloads upstream archive for current commit (or specified version) into `pkg/archives/upstream/*` - requires archive URL configuration, supports signatures too. Such config can be stored in `distro/config/apkg.yaml`
|
|
|
|
|
|
Both `make-archive` and `get-archive` (when configured) will be used by other commands when requested through parameters and might be useful to user on their own - better expose them properly.
|
|
|
|
... | ... | |