Skip to content

Commit 0770d62

Browse files
committed
docs: update README and comments on files.list
Signed-off-by: Camber Huang <[email protected]>
1 parent 75eeee6 commit 0770d62

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11
# misc-files
2-
Repository for miscellaneous files frequently overwritten by upstreams
32

43
[![Periodic updates](https://github.com/AOSC-Dev/misc-files/actions/workflows/periodic-update.yml/badge.svg)](https://github.com/AOSC-Dev/misc-files/actions/workflows/periodic-update.yml)
4+
5+
Repository for miscellaneous files frequently overwritten by upstreams.
6+
7+
This repository is driven by the tracking list file `files.list` and utilizes GitHub Actions to keep files updated. Files in this repository are being used by the following packages:
8+
9+
- `iana-etc`:
10+
- `bind`
11+
12+
## CI/CD
13+
14+
The main workflow `periodic-update` is triggered under the following conditions:
15+
16+
- Update `files.list` on branch `master`
17+
- Cron `"0 0 * * *"`
18+
- Manually triggered by maintainers
19+
20+
21+
## `files.list`
22+
23+
This file tells what file should be tracked by which package and renamed in the following format:
24+
25+
```
26+
package-name url [file-name]
27+
```
28+
29+
Example:
30+
31+
```
32+
bind https://www.internic.net/zones/named.root
33+
```
34+
35+
* package-name: The name of the package to which the file belongs
36+
* url: The URL to download the file from
37+
* file-name: Optional, will default to `$(basename $url)` if not provided
38+

files.list

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# package-name url [file-name]
2+
# bind https://www.internic.net/zones/named.root
3+
# iana-etc https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml service-names-port-numbers.iana
14
bind https://www.internic.net/zones/named.root
25

36
iana-etc https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml

0 commit comments

Comments
 (0)