Skip to content

Commit f93295d

Browse files
authored
Merge branch 'AerynOS:main' into main
2 parents b56ba2a + acf5bf9 commit f93295d

File tree

11 files changed

+531
-141
lines changed

11 files changed

+531
-141
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
version: 2
6+
updates:
7+
- package-ecosystem: "npm"
8+
directory: "/"
9+
schedule:
10+
interval: "monthly"

astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,12 @@ export default defineConfig({
144144
{ slug: "packaging/workflow" },
145145
{ slug: "packaging/workflow/prerequisites" },
146146
{ slug: "packaging/workflow/basic-workflow" },
147+
{ slug: "packaging/workflow/preparing-for-packaging" },
147148
{ slug: "packaging/workflow/creating-a-new-recipe" },
148149
{ slug: "packaging/workflow/updating-an-existing-recipe" },
150+
{ slug: "packaging/workflow/building-and-testing-packages" },
149151
{ slug: "packaging/workflow/submitting-a-pr" },
152+
{ slug: "packaging/workflow/checking-for-updates" },
150153
],
151154
},
152155
{

src/content/docs/Packaging/Recipes/overview.mdx

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
lastUpdated: 2024-09-07T23:44:13Z
3+
lastUpdated: 2026-01-26T09:00:00Z
44
description: Introduction to the `stone.yaml` format
55
---
66

@@ -13,15 +13,26 @@ How might a `stone.yml` look like for a very trivial package, such as the [Nano
1313

1414
```yaml
1515
name : nano
16-
version : 5.5
17-
release : 2
18-
summary : GNU Text Editor
19-
license : GPL-3.0-or-later
16+
version : 8.7
17+
release : 38
2018
homepage : https://www.nano-editor.org/
21-
description : |
22-
The GNU Text Editor
2319
upstreams :
24-
- https://www.nano-editor.org/dist/v5/nano-5.5.tar.xz: 390b81bf9b41ff736db997aede4d1f60b4453fbd75a519a4ddb645f6fd687e4a
20+
- https://www.nano-editor.org/dist/v8/nano-8.7.tar.xz : afd287aa672c48b8e1a93fdb6c6588453d527510d966822b687f2835f0d986e9
21+
summary : GNU Text Editor
22+
description : |
23+
Nano is a small and simple text editor for use on the terminal.
24+
It copied the interface and key bindings of the Pico editor but
25+
added several missing features: undo/redo, syntax highlighting,
26+
line numbers, softwrapping, multiple buffers, selecting text by
27+
holding Shift, search-and-replace with regular expressions, and
28+
several other conveniences.
29+
license :
30+
- GPL-3.0-or-later
31+
builddeps :
32+
- binary(msgfmt)
33+
- pkgconfig(libmagic)
34+
- pkgconfig(ncursesw)
35+
- pkgconfig(zlib)
2536
setup : |
2637
%configure
2738
build : |

src/content/docs/Packaging/Workflow/basic-workflow.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Basic Packaging Workflow'
2+
title: 'Basic packaging workflow'
33
lastUpdated: 2025-06-23T00:00:00Z
44
description: "Building packages locally and testing them"
55
---
@@ -72,15 +72,15 @@ default-x86_64:
7272
# note: ${HOME} will be replaced by the actual home directory of the user
7373
# invoking the command. In the example below, ${HOME} = /home/ermo
7474
boulder profile add \
75-
--repo name=volatile,uri=https://build.aerynos.dev/volatile/x86_64/stone.index,priority=0 \
75+
--repo name=volatile,uri=https://build.aerynos.dev/stream/volatile/x86_64/stone.index,priority=0 \
7676
--repo name=local,uri=file://${HOME}/.cache/local_repo/x86_64/stone.index,priority=100 \
7777
local-x86_64
7878
boulder profile list
7979
# output
8080
default-x86_64:
8181
- volatile = https://build.aerynos.dev/volatile/x86_64/stone.index [0]
8282
local-x86_64:
83-
- volatile = https://build.aerynos.dev/volatile/x86_64/stone.index [0]
83+
- volatile = https://build.aerynos.dev/stream/volatile/x86_64/stone.index [0]
8484
- local = file:///home/ermo/.cache/local_repo/x86_64/stone.index [100]
8585
```
8686

@@ -98,7 +98,7 @@ local-x86_64:
9898
active: true
9999
volatile:
100100
description: ''
101-
uri: https://build.aerynos.dev/volatile/x86_64/stone.index
101+
uri: https://build.aerynos.dev/stream/volatile/x86_64/stone.index
102102
priority: 0
103103
active: true
104104
```
@@ -116,12 +116,12 @@ moss repo list
116116
# add repositories
117117
# note: ${HOME} will be replaced by the actual home directory of the user
118118
# invoking the command. In the example below, ${HOME} = /home/ermo"
119-
sudo moss repo add volatile https://build.aerynos.dev/volatile/x86_64/stone.index -p 10
119+
sudo moss repo add volatile https://build.aerynos.dev/stream/volatile/x86_64/stone.index -p 10
120120
sudo moss repo add local file://${HOME}/.cache/local_repo/x86_64/stone.index -p 100
121121
moss repo list
122122
# output
123123
- unstable = https://cdn.aerynos.dev/unstable/x86_64/stone.index [0]
124-
- volatile = https://build.aerynos.dev/volatile/x86_64/stone.index [10]
124+
- volatile = https://build.aerynos.dev/stream/volatile/x86_64/stone.index [10]
125125
- local = file:///home/ermo/.cache/local_repo/x86_64/stone.index [100]
126126
```
127127

@@ -150,7 +150,7 @@ sudo moss repo disable local
150150
moss repo list
151151
# output
152152
- unstable = https://cdn.aerynos.dev/unstable/x86_64/stone.index [0]
153-
- volatile = https://build.aerynos.dev/volatile/x86_64/stone.index [10] (disabled)
153+
- volatile = https://build.aerynos.dev/stream/volatile/x86_64/stone.index [10] (disabled)
154154
- local = file:///home/ermo/.cache/local_repo/x86_64/stone.index [100] (disabled)
155155
```
156156

@@ -170,7 +170,7 @@ sudo moss repo enable local
170170
moss repo list
171171
# output
172172
- unstable = https://cdn.aerynos.dev/unstable/x86_64/stone.index [0]
173-
- volatile = https://build.aerynos.dev/volatile/x86_64/stone.index [10]
173+
- volatile = https://build.aerynos.dev/stream/volatile/x86_64/stone.index [10]
174174
- local = file:///home/ermo/.cache/local_repo/x86_64/stone.index [100]
175175
```
176176

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title : 'Building and testing packages'
3+
lastUpdated: 2026-01-25T12:00:00+00:00
4+
description: "How to build and test packages locally on your system"
5+
---
6+
import { Aside } from '@astrojs/starlight/components';
7+
8+
9+
This guide will walk you through the process of building and testing packages locally on your system, regardless of whether they come from new package recipes or existing ones you are updating.
10+
11+
## Build the package
12+
13+
Once you have created or updated a package recipe, you will need to build it locally. If you are only updating one package, you can either keep your local repository disabled prior to building the package. If you prefer to keep it enabled, make sure there are no other packages indexed locally that could interfere with your new package build.
14+
15+
<Aside type="note">
16+
Please ensure you have followed the steps in the [Preparing for Packaging](/packaging/workflow/preparing-for-packaging/) guide to ensure you volatile repository is enabled.
17+
</Aside>
18+
19+
20+
The command to build the updated package is:
21+
22+
```bash
23+
just build
24+
```
25+
26+
If the package is successfully built, you will need to move it to your local repository. You can do this using the following command:
27+
28+
```bash
29+
just mv-local
30+
```
31+
32+
If you have not yet enabled the local repository, you do this with the following command:
33+
34+
```bash
35+
sudo moss repo enable local
36+
```
37+
38+
You will then need to sync the local repository using the command:
39+
40+
```bash
41+
sudo moss sync -u
42+
```
43+
44+
Note, if you already have an older version of the package installed, you will be asked if you want to update to the new local version you have just built. If you have not yet installed this package, you would install it as normal using the command:
45+
46+
```bash
47+
sudo moss install "package name"
48+
```
49+
50+
Once you have tested the package, you can make a submission for including the update in the repository.
51+
52+
<Aside type="tip" title="How to submit pull requests">
53+
To find guidance on how to submit a pull request (PR), you can refer to our [submit a pull request](/packaging/workflow/submitting-a-pr) page. s
54+
</Aside>
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title : 'Checking for package updates'
3+
lastUpdated: 2026-01-25T12:00:00+00:00
4+
description: "How to check for package updates"
5+
---
6+
import { Aside } from '@astrojs/starlight/components';
7+
8+
9+
## Use `ent` to check for package updates
10+
11+
This guide will walk you through the process using `ent`, a tool built by the AerynOS team to check for package updates. `ent` checks recipes against upstream sources to determine whether updates are available.
12+
13+
`ent` is not installed on your system by default. To install `ent` using `moss`, use the following command:
14+
15+
```bash
16+
sudo moss install ent
17+
```
18+
### How `ent` works
19+
20+
`ent` scans the current directory and all subdirectories beneath it. It inspects each recipe `monitoring.yaml` file and compares the referenced `stone.yaml` recipe upstreams to determine whether newer versions are available.
21+
22+
Because `ent` operates relative to the directory in which it is executed, you can control the scope of the update check by choosing where to run the command within the recipes repository.
23+
24+
### Running update checks
25+
26+
To check for updates across all recipes, run the following command from the root of the recipes repository:
27+
28+
```bash
29+
gotoaosrepo
30+
ent check updates
31+
```
32+
33+
You can also run this command from more specific locations:
34+
35+
* **Repository root**
36+
Checks all recipes in the repository.
37+
38+
* **Letter directory (for example, `f/`)**
39+
Checks only recipes whose names start with that letter.
40+
41+
* **Specific recipe directory (for example, `f/firefox/`)**
42+
Checks only that single recipe.
43+
44+
For example, running the command from `f/firefox/` will check only the Firefox recipe for available updates.
45+
46+
<Aside type="note" title="What is ent?">
47+
`ent` queries an upstream site for package release info *every time you run it*. Please be mindful of not running it gratuitously so as to remain a good ecosystem citizen.
48+
</Aside>

0 commit comments

Comments
 (0)