Skip to content

Commit 3184c23

Browse files
Azathothasgitbook-bot
authored andcommitted
GITBOOK-318: No subject
1 parent 99a2118 commit 3184c23

3 files changed

Lines changed: 113 additions & 1 deletion

File tree

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
* [Security](repositories/pkgcache/security.md)
121121
* [external](repositories/external/README.md)
122122
* [pkgforge-cargo](repositories/external/cargo-bins-1.md)
123+
* [pkgforge-go](repositories/external/pkgforge-go.md)
123124
* [cargo-bins](repositories/external/cargo-bins.md)
124125
* [AM](repositories/external/am.md)
125126
* [appimage.github.io](repositories/external/appimage.github.io.md)

repositories/external/cargo-bins-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Officially maintained External Repo for All Crates
3-
icon: gear-complex-code
3+
icon: rust
44
---
55

66
# pkgforge-cargo
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
---
2+
description: Officially maintained External Repo for Go Packages
3+
icon: golang
4+
---
5+
6+
# pkgforge-go
7+
8+
{% hint style="info" %}
9+
* [x] Project: [https://github.com/pkgforge-go/builder](https://github.com/pkgforge-go/builder)
10+
* [x] Bugs/Issues: [https://github.com/pkgforge-go/builder/issues](https://github.com/pkgforge-go/builder/issues)
11+
* [x] Soar Repo: <mark style="color:orange;">**`pkgforge-go`**</mark>
12+
* [x] Cache: [<mark style="color:green;">**Yes**</mark>](#user-content-fn-1)[^1]
13+
* [x] Soar CI & Repo: [https://github.com/pkgforge-go/builder/tree/main/scripts](https://github.com/pkgforge-go/builder/tree/main/scripts)
14+
* [x] Metadata: [https://github.com/pkgforge-go/builder/tree/main/data](https://github.com/pkgforge-go/builder/tree/main/data)
15+
* [x] Type: Static
16+
{% endhint %}
17+
18+
***
19+
20+
### Trust
21+
22+
{% hint style="success" %}
23+
This is as good as our own officially curated packages, as it is officially maintained by [@Azathothas](https://docs.pkgforge.dev/orgs/readme/people#azathothas). We have [clear workflow](https://github.com/pkgforge-go/builder/tree/main#-workflow) on what & how packages are built. And since the packages are built on [Github Actions](https://github.com/pkgforge-go/builder/actions/workflows/matrix_builds.yaml), transparent CI logs are also available for all of the packages.
24+
25+
All of these make us say with high confidence that **you can trust it, as long as you trust that Github, Cargo, Crates.io or the package itself isn't compromised.**
26+
27+
On a scale of <mark style="color:orange;">**1-10**</mark>, we had rate this source as <mark style="color:green;">**9**</mark>, **As this is an officially maintained external source**.
28+
{% endhint %}
29+
30+
***
31+
32+
### Add
33+
34+
{% hint style="info" %}
35+
[Using <mark style="color:orange;">**`soar defconfig`**</mark>](#user-content-fn-2)[^2] (<mark style="color:green;">**Recommended**</mark>)&#x20;
36+
37+
{% code overflow="wrap" %}
38+
```bash
39+
#ONLY If you didn't already use it or have your own custom config
40+
soar defconfig --external
41+
soar sync
42+
soar list 'pkgforge-go'
43+
```
44+
{% endcode %}
45+
{% endhint %}
46+
47+
{% hint style="info" %}
48+
[Using your text editor](#user-content-fn-3)[^3] \[ <mark style="color:orange;">**`~/.config/soar/config.toml`**</mark> ]
49+
50+
* [x] Open it in a text editor
51+
52+
{% code overflow="wrap" %}
53+
```bash
54+
#Open the config file using your favourtie editor
55+
#In this example, we will use micro
56+
mkdir -pv "~/.config/soar" &&\
57+
micro "~/.config/soar/config.toml"
58+
```
59+
{% endcode %}
60+
61+
* [x] Add the repo config (For other hosts, see [supported list](https://github.com/pkgforge-go/builder#-hosts).)
62+
63+
{% code overflow="wrap" %}
64+
```toml
65+
[[repositories]]
66+
name = "pkgforge-go"
67+
url = "https://meta.pkgforge.dev/external/pkgforge-go/x86_64-Linux.json.zstd"
68+
```
69+
{% endcode %}
70+
71+
* [x] Sync metadata
72+
73+
{% code overflow="wrap" %}
74+
```bash
75+
soar sync
76+
soar list 'pkgforge-go'
77+
```
78+
{% endcode %}
79+
{% endhint %}
80+
81+
{% hint style="info" %}
82+
[Using tee (<mark style="color:red;">**NOT-Recommended**</mark>)](#user-content-fn-4)[^4]
83+
84+
* [x] Append (For other hosts, see [supported list](https://github.com/pkgforge-cargo/builder#-hosts).)
85+
86+
{% code overflow="wrap" %}
87+
```bash
88+
mkdir -pv "~/.config/soar" &&\
89+
tee -a "~/.config/soar/config.toml" <<EOF
90+
[[repositories]]
91+
name = "pkgforge-go"
92+
url = "https://meta.pkgforge.dev/external/pkgforge-go/x86_64-Linux.json.zstd"
93+
EOF
94+
```
95+
{% endcode %}
96+
97+
* [x] Sync metadata
98+
99+
```bash
100+
soar sync
101+
soar list 'pkgforge-go'
102+
```
103+
{% endhint %}
104+
105+
[^1]: Packages are stored on ghcr
106+
107+
[^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>
108+
109+
[^3]: Should use if using custom config or the above command fails
110+
111+
[^4]: Should only use if you can't use a text editor or want to do it non-interactively

0 commit comments

Comments
 (0)