16 Commits

Author SHA1 Message Date
0b0587e57c Update link to issue queue
/new only works if logged in
2023-08-08 14:13:26 -04:00
3wc
f0a15b079f Add disco build-abra-in-docker advice
All checks were successful
continuous-integration/drone/push Build is passing
Thanks @V
2023-08-04 14:53:46 +02:00
d37838535e chore(deps): update dependency mkdocs to v1.5.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-03 07:08:37 +00:00
e06db4b5e0 chore(deps): update squidfunk/mkdocs-material docker tag to v9.1.21
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-01 07:04:35 +00:00
56858053f6 docs: sort & add tracking
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-29 01:16:00 +02:00
1557ae057e chore(deps): update dependency mkdocs-material to v9.1.21
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-28 07:14:31 +00:00
b2692984f6 chore(deps): update dependency mkdocs to v1.5.1
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-28 07:13:37 +00:00
9b6f1938e8 chore(deps): update dependency mkdocs to v1.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 07:14:09 +00:00
7eefba2410 fix: add missing "cd"
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 12:33:21 +02:00
3d9e63be5d docs: typo & wording
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 09:55:14 +02:00
d90b13eb1e doc: new v8 rc guide
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-26 08:50:39 +02:00
6a8ddfdb6b docs: how to unbork lightweight tag
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#433
2023-07-25 20:39:01 +02:00
cd6520b083 docs: add link to 009
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 18:30:58 +02:00
f5f33f0b5b fix: wrong no.
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 18:21:03 +02:00
c22cd36b9c docs: shuffling passed resolutions
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-24 18:09:21 +02:00
3wc
ddfc5da254 Add 011 to menu
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-23 15:49:11 +01:00
10 changed files with 121 additions and 13 deletions

View File

@ -1,4 +1,4 @@
FROM squidfunk/mkdocs-material:9.1.19 FROM squidfunk/mkdocs-material:9.1.21
EXPOSE 8000 EXPOSE 8000

View File

@ -70,6 +70,18 @@ If there's no official release for the architecture you use, you can cross-compi
- run `git checkout <tag>`, where `<tag>` is the latest version - run `git checkout <tag>`, where `<tag>` is the latest version
- run `GOOS=<os> GOARCH=<arch> [GOARM=<arm>] make build`. You only have to use `GOARM` if you're building for ARM, this specifies the ARM version (5,6,7 etc). See [this](https://go.dev/doc/install/source#environment) for a list of all supported OS'es and architectures. - run `GOOS=<os> GOARCH=<arch> [GOARM=<arm>] make build`. You only have to use `GOARM` if you're building for ARM, this specifies the ARM version (5,6,7 etc). See [this](https://go.dev/doc/install/source#environment) for a list of all supported OS'es and architectures.
### Building in Docker
If you are living under a curse of constant Go environment problems, it might be easier to build `abra` using Docker:
```
sudo setenforce 0 # SELinux probably won't allow Docker to access files
docker run -it -v $PWD:/abra golang:1.19.6 bash
cd /abra
. .envrc
git config --global --add safe.directory /abra # work around funky file permissions
make build
```
## Release management ## Release management

View File

@ -18,9 +18,29 @@ abra upgrade --rc
## Migration guides ## Migration guides
### `0.6.x-beta` -> `0.7.x-beta` > General release notes are [here](https://git.coopcloud.tech/coop-cloud/abra/releases/)
> General release notes are [here](https://git.coopcloud.tech/coop-cloud/abra/releases/tag/0.7.0-beta) ### `0.7.x-beta` -> `0.8.x-beta`
> Currently still a release candidate! Please help test 😌
- We now have an `--offline` flag instead of relying on internal logic to try
to decide when offline/online works best. It's up to you! A lot of `abra`
operations require network access, so it is not really truly "offline". The
logic prefers local filesystem access when this flag is passed. E.g. if there
is a local copy of the catalogue, then don't `git pull`.
- There is a new linting rule for catching invalid tags in recipe versions.
This is an seemingly unavoidable issue that requires some maintenance work.
If you run into the error, here's some
[docs](https://docs.coopcloud.tech/maintainers/handbook/#r014-invalid-lightweight-tag)
to help work through it.
- `~/.abra/catalogue` is now *only* updated via `git pull`. You may need to
`cd ~/.abra/catalogue && git checkout .` to get `abra` to stop complaining about
unstaged changes.
### `0.6.x-beta` -> `0.7.x-beta`
- **ALERTA, ALERTA**, security related issue: all `$domain.env` env vars are now exposed to the deployment via the `app` service container. Each `FOO=BAR` is exported within the context of the container. If you have any privately committed secrets in your `.env` files, please migrate them to the `secrets: ...` configuration in the recipe. This change was made to facilitate tooling which can support auto-upgrading of apps in a deployment. - **ALERTA, ALERTA**, security related issue: all `$domain.env` env vars are now exposed to the deployment via the `app` service container. Each `FOO=BAR` is exported within the context of the container. If you have any privately committed secrets in your `.env` files, please migrate them to the `secrets: ...` configuration in the recipe. This change was made to facilitate tooling which can support auto-upgrading of apps in a deployment.

View File

@ -1,5 +1,5 @@
--- ---
title: "Resolution 008: Budget 005: Backup improvements - 2023-07-23" title: "Resolution 011: Budget 005: Backup improvements - 2023-07-23"
--- ---
- Deadline: 2022-08-06 - Deadline: 2022-08-06
@ -7,7 +7,7 @@ title: "Resolution 008: Budget 005: Backup improvements - 2023-07-23"
### Summary ### Summary
Agree Budget 005, for up to 10 hours (€200) to implement changes to the Co-op Cloud backup system, including `abra`, and `backup-bot-two`. Agree Budget 005, for up to 10 hours (€200) to implement changes to the Co-op Cloud backup system, including `abra`, and `backup-bot-two`.
More information, including background to the changes, and breakdown of the work, can be found here: https://pad.local-it.org/4chDYXkBQZywXKj0zs_Ymg# More information, including background to the changes, and breakdown of the work, can be found here: https://pad.local-it.org/4chDYXkBQZywXKj0zs_Ymg#

View File

@ -25,7 +25,7 @@ If the fix is urgent and things need to move faster, please state so on the tick
### Details (Budget 004) ### Details (Budget 004)
This budget stands open and available for use until the common fund buffer is reached. Please see Resolution 009 for further details on the buffer. This budget stands open and available for use until the common fund buffer is reached. Please see [Resolution 009](https://docs.coopcloud.tech/federation/resolutions/passed/009/) for further details on the buffer.
Please see [Resolution 003](https://docs.coopcloud.tech/federation/resolutions/passed/003/) for details on the hourly rate for this work. Please see [Resolution 003](https://docs.coopcloud.tech/federation/resolutions/passed/003/) for details on the hourly rate for this work.

View File

@ -646,3 +646,74 @@ export APP_ENTRYPOINT_VERSION=v5
``` ```
You should be able to deploy this overriden configuration now. You should be able to deploy this overriden configuration now.
## Linting rules
### R014: "invalid lightweight tag"
This is an issue related to the way Git/`go-git` handle Git tags internally. We
need to use "annotated tags" and not "lightweight tags" for our recipe versions
tags. Otherwise, `abra` has a hard time parsing what is going on.
The `R01O4` linting error happens because the recipe in question has a
lightweight tag. This needs to be replaced. This is a manual process. Here's a
practical example with the Gitea recipe when we had this issue.
You can validate what kind of tag is which by running the following:
```
git for-each-ref refs/tags
734045872a57d795cd54b1992a1753893a4934f1 tag refs/tags/1.0.0+1.14.5-rootless
b2cefa5ccf2f2f77dae54cf6c304cccecb3547ca tag refs/tags/1.1.0+1.15.0-rootless
6d669112d8caafcdcf4eb1485f2d6afdb54a8e30 tag refs/tags/1.1.1+1.15.3-rootless
64761ad187cc7a3984a37dd9abd4fa16979f97b9 tag refs/tags/1.1.2+1.15.6-rootless
1ccb1cb6a63a08eebf6ba5508b676eaaccba7ed8 tag refs/tags/1.1.3+1.15.10-rootless
b86e1f6dfef3c464b16736274b3cd95f8978f66b tag refs/tags/1.2.0+1.16.3-rootless
b1d22f3c39ca768a4efa1a0b9b9f780268c924b3 tag refs/tags/1.2.1+1.16.8-rootless
85a45aa749427822a73ef62b6362d57bae1a61af tag refs/tags/1.3.0+1.17.2-rootless
f35689989c0b57575b8362e1252476d8133dc961 commit refs/tags/1.3.1+1.17.3-rootless
df015fae592fca7728a3f0835217e110da4dbafc tag refs/tags/2.0.0+1.18.0-rootless
71920adb0c25a59f7678894e39f1a705f0ad08dd tag refs/tags/2.0.1+1.18.2-rootless
1ab9a96922341c8e54bdb6d60850630cce4b9587 tag refs/tags/2.1.0+1.18.5-rootless
1e612d84a2ad7c9beb7aa064701a520c7e91eecc commit refs/tags/2.1.2+1.19.3-rootless
0bee99615a8bbd534a66a315ee088af3124e054b tag refs/tags/2.2.0+1.19.3-rootless
699378f53501b2d5079fa62cc7f8e79930da7540 tag refs/tags/2.3.0+1.20.1-rootless
c0dc5f82930d875c0a6e29abc016b4f6a53b83dd tag refs/tags/2.3.1+1.20.1-rootless
```
Where `f35689989c0b57575b8362e1252476d8133dc961` &
`1e612d84a2ad7c9beb7aa064701a520c7e91eecc` need to be removed ("commit"). We
will deal with `refs/tags/1.3.1+1.17.3-rootless` in this example.
```
# find the tag hash
git show 1.3.1+1.17.3-rootless
commit f35689989c0b57575b8362e1252476d8133dc961 (tag: 1.3.1+1.17.3-rootless)
Merge: af97db8 1d4dc8e
Author: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Date: Sun Nov 13 21:54:01 2022 +0000
Merge pull request 'Adding Oauth2 options and up on versions' (#29) from javielico/gitea:master into master
Reviewed-on: https://git.coopcloud.tech/coop-cloud/gitea/pulls/29
# delete the tag locally / remotely
git tag -d 1.3.1+1.17.3-rootless
git push origin 1.3.1+1.17.3-rootless --delete
# re-tag, this time with `-a` (annotated)
git checkout f35689989c0b57575b8362e1252476d8133dc961
git tag -a 1.3.1+1.17.3-rootless
# push new tag
git checkout master # might be main on other recipes!
git push origin master --tags
# check everything works
git for-each-ref refs/tags | grep 1.3.1+1.17.3-rootless
964f1680000fbba6daa520aa8d533a53ad151ab8 tag refs/tags/1.3.1+1.17.3-rootless
```
That's it! Spread the word, use `-a` when tagging recipe versions manually! Or
just use `abra` which should handle this issue automagically for you in all
cases 🎉

View File

@ -154,7 +154,7 @@ export PATH=$PATH:$HOME/.local/bin
abra -h # check it works abra -h # check it works
``` ```
If you run into issues during installation, [please report a ticket](https://git.coopcloud.tech/coop-cloud/abra/issues/new) :pray: Once you're all set up, we **highly** recommend configuring command-line auto-completion for `abra`. See `abra autocomplete -h` for more on how to do this. If you run into issues during installation, [please report a ticket](https://git.autonomic.zone/coop-cloud/organising/issues) :pray: Once you're all set up, we **highly** recommend configuring command-line auto-completion for `abra`. See `abra autocomplete -h` for more on how to do this.
!!! question "Can I install `abra` on my server?" !!! question "Can I install `abra` on my server?"

View File

@ -7,13 +7,15 @@ use_directory_urls: true
theme: theme:
name: material name: material
features: features:
- content.action.edit
- navigation.expand - navigation.expand
- navigation.indexes
- navigation.instant - navigation.instant
- navigation.path
- navigation.sections - navigation.sections
- navigation.tabs - navigation.tabs
- navigation.tabs.sticky - navigation.tabs.sticky
- navigation.indexes - navigation.tracking
- content.action.edit
palette: palette:
primary: light pink primary: light pink
accent: purple accent: purple
@ -83,10 +85,13 @@ nav:
- federation/resolutions/passed/004.md - federation/resolutions/passed/004.md
- federation/resolutions/passed/005.md - federation/resolutions/passed/005.md
- federation/resolutions/passed/006.md - federation/resolutions/passed/006.md
- federation/resolutions/passed/007.md
- federation/resolutions/passed/008.md
- federation/resolutions/passed/009.md
- federation/resolutions/passed/010.md
- "In progress": - "In progress":
- federation/resolutions/in-progress/index.md - federation/resolutions/in-progress/index.md
- federation/resolutions/in-progress/009.md - federation/resolutions/in-progress/011.md
- federation/resolutions/in-progress/010.md
- "Draft": - "Draft":
- federation/resolutions/drafts/index.md - federation/resolutions/drafts/index.md
- "Finance": federation/finance.md - "Finance": federation/finance.md

View File

@ -1,4 +1,4 @@
mkdocs-awesome-pages-plugin==2.9.1 mkdocs-awesome-pages-plugin==2.9.1
mkdocs-material-extensions==1.1.1 mkdocs-material-extensions==1.1.1
mkdocs-material==9.1.19 mkdocs-material==9.1.21
mkdocs==1.4.3 mkdocs==1.5.2