Skip to content

Commit 1046319

Browse files
Azathothasgitbook-bot
authored andcommitted
GITBOOK-270: No subject
1 parent 5fa5e12 commit 1046319

File tree

1 file changed

+84
-1
lines changed

1 file changed

+84
-1
lines changed

repositories/external/appimage.github.io.md

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: AppImage Hub
32
icon: gitkraken
3+
description: AppImage Hub
44
---
55

66
# appimage.github.io
@@ -14,4 +14,87 @@ icon: gitkraken
1414
* [x] Metadata: [https://meta.pkgforge.dev/external/appimage.github.io/](https://meta.pkgforge.dev/external/appimage.github.io/)
1515
{% endhint %}
1616

17+
***
18+
19+
### Add
20+
21+
{% hint style="info" %}
22+
[Using <mark style="color:orange;">**`soar defconfig`**</mark>](#user-content-fn-2)[^2] (<mark style="color:green;">**Recommended**</mark>)
23+
24+
{% code overflow="wrap" %}
25+
```bash
26+
#ONLY If you didn't already use it or have your own custom config
27+
soar defconfig --external
28+
soar sync
29+
soar list 'appimage-github-io'
30+
```
31+
{% endcode %}
32+
{% endhint %}
33+
34+
{% hint style="info" %}
35+
[Using your text editor](#user-content-fn-3)[^3] \[ <mark style="color:orange;">**`~/.config/soar/config.toml`**</mark> ]
36+
37+
* [x] Open it in a text editor
38+
39+
{% code overflow="wrap" %}
40+
```bash
41+
#Open the config file using your favourtie editor
42+
#In this example, we will use micro
43+
mkdir -pv "~/.config/soar" &&\
44+
micro "~/.config/soar/config.toml"
45+
```
46+
{% endcode %}
47+
48+
* [x] Add the repo config (For aarch64: Replace **x86\_64-Linux** with **aarch64-Linux**)
49+
50+
{% code overflow="wrap" %}
51+
```toml
52+
[[repositories]]
53+
name = "appimage-github-io"
54+
url = "https://meta.pkgforge.dev/external/appimage.github.io/x86_64-Linux.json.zstd"
55+
```
56+
{% endcode %}
57+
58+
* [x] Sync metadata
59+
60+
{% code overflow="wrap" %}
61+
```bash
62+
soar sync
63+
soar list 'appimage-github-io'
64+
```
65+
{% endcode %}
66+
{% endhint %}
67+
68+
{% hint style="info" %}
69+
[Using tee](#user-content-fn-4)[^4] (<mark style="color:red;">**NOT-Recommended**</mark>)
70+
71+
* [x] Append (For aarch64: Replace **x86\_64-Linux** with **aarch64-Linux**)
72+
73+
{% code overflow="wrap" %}
74+
```bash
75+
mkdir -pv "~/.config/soar" &&\
76+
tee -a "~/.config/soar/config.toml" <<EOF
77+
[[repositories]]
78+
name = "appimage-github-io"
79+
url = "https://meta.pkgforge.dev/external/appimage.github.io/x86_64-Linux.json.zstd"
80+
EOF
81+
```
82+
{% endcode %}
83+
84+
* [x] Sync metadata
85+
86+
{% code overflow="wrap" %}
87+
```bash
88+
soar sync
89+
soar list 'appimage-github-io'
90+
```
91+
{% endcode %}
92+
{% endhint %}
93+
1794
[^1]: The data is quite poor & requires too much work for us to provide prebuilt cache
95+
96+
[^2]: Assuming you didn't run this before and you DO NOT have your own custom config at <mark style="color:orange;">**`~/.config/soar/config.toml`**</mark>
97+
98+
[^3]: Should use if using custom config or the above command fails
99+
100+
[^4]: Should only use if you can't use a text editor or want to do it non-interactively

0 commit comments

Comments
 (0)