Skip to content

Commit

Permalink
Document which krefs set bugtracker, release_date, and metanetkan (#3519
Browse files Browse the repository at this point in the history
)
  • Loading branch information
HebaruSan committed Jan 20, 2022
1 parent aea9480 commit b1fd225
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,10 @@ When used, the following fields will be auto-filled if not already present:
- `resources.homepage`
- `resources.spacedock`
- `resources.repository`
- `resources.bugtracker`
- `resources.x_screenshot`
- `ksp_version`
- `release_date`

###### `#/ckan/curse/:cid`

Expand Down Expand Up @@ -778,6 +780,8 @@ When used, the following fields will be auto-filled if not already present:
- `download_hash`
- `download_content_type`
- `resources.repository`
- `resources.bugtracker`
- `release_date`

Optionally, one of `asset_match` with `:filter_regexp` *or* `version_from_asset` with `:version_regexp` *may* be provided:

Expand Down Expand Up @@ -811,6 +815,7 @@ The following fields will be auto-filled if not already present:
- `download_hash`
- `download_content_type`
- `resources.ci`
- `release_date`

An `x_netkan_jenkins` field may be provided to customize how the metadata is fetched from the Jenkins server. It is
an `object` with the following fields:
Expand Down Expand Up @@ -892,6 +897,10 @@ The following conditions apply:
- A metanekan may not reference another metanetkan, otherwise an error is produced.
- Any fields specified in the metanetkan will override any fields in the target netkan file.

When used, the following fields will be auto-filled if not already present:

- `resources.metanetkan`

An example `.netkan` including all required fields for a valid metanetkan:

```yaml
Expand Down

0 comments on commit b1fd225

Please sign in to comment.