Skip to content

Commit c4278b7

Browse files
committed
update readme
1 parent 4997048 commit c4278b7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/templates/.README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ This will use a lot of minutes on GitHub-hosted runners, so you may want to use
4949
This is an example for `systemd`; adapt it to your needs. Please note:
5050

5151
- Docker needs to be installed
52-
- You don't need to set `GITHUB_TOKEN` if you're logged in with `gh` or you'll first use your PAT to run (replace `*` with `https` or `ssh`):
52+
- You don't need to set `GITHUB_TOKEN` if you first log in with `gh` or use your PAT to run:
5353

5454
```bash
55-
git clone --depth=1 -b <GITHUB_BRANCH> --single-branch *://<PAT>@github.com/<GITHUB_OWNER>/<GITHUB_REPO> /opt/<GITHUB_REPO>/<GITHUB_BRANCH>
55+
git clone --depth=1 -b <GITHUB_BRANCH> --single-branch [https|ssh]://<PAT>@github.com/<GITHUB_OWNER>/<GITHUB_REPO> /opt/<GITHUB_REPO>/<GITHUB_BRANCH>
5656
```
5757

5858
- `-m 0` ensures only the public packages of the owners you've added are updated (default)
@@ -205,27 +205,27 @@ $.[FILTER].PROPERTY
205205
You can query a package for its properties, like size or version:
206206
207207
```py
208-
/xml/PROPERTY
208+
//PROPERTY
209209
```
210210
211211
```py
212-
/xml/size
212+
//size
213213
```
214214
215215
Versions can be filtered in and tags out:
216216
217217
```py
218-
/xml/version[FILTER]/PROPERTY
218+
//version[FILTER]/PROPERTY
219219
```
220220
221221
```py
222-
/xml/version[./latest[.="true"]]/tags[.!="latest"]
222+
//version[./latest[.="true"]]/tags[.!="latest"]
223223
```
224224
225225
As can packages in `owner[/repo]/.xml` files:
226226
227227
```py
228-
/xml/package[FILTER]/PROPERTY
228+
//package[FILTER]/PROPERTY
229229
```
230230
231231
</details>
@@ -238,12 +238,12 @@ https://github.com/<GITHUB_OWNER>/<GITHUB_REPO>/raw/index/OWNER/[REPO/[PACKAGE]]
238238
239239
The endpoint is also available here! This will change to your fork once it updates.
240240
241-
## JSON2XML Proxy
241+
## Bring Your Own JSON
242242
243243
```py
244244
https://ipitio.github.io/backage?json=https://URL/ENCODED/JSON
245245
```
246246

247-
Use your own external JSON with this proxy to convert it into XML. This doesn't currently work with Shields. Try it out in your browser:
247+
While this doesn't directly work with Shields, you can BYOJ to convert into XML. Try it out in your browser:
248248

249249
**<https://ipitio.github.io/backage?json=https://raw.githubusercontent.com/<GITHUB_OWNER>/<GITHUB_REPO>/index/.json>**

0 commit comments

Comments
 (0)