Add better build instructions
Some checks failed
/ release (push) Has been cancelled
testing / backend-checks (push) Has been cancelled
testing / frontend-checks (push) Has been cancelled
testing / test-unit (push) Has been cancelled
testing / test-e2e (push) Has been cancelled
testing / test-remote-cacher (redis) (push) Has been cancelled
testing / test-remote-cacher (valkey) (push) Has been cancelled
testing / test-remote-cacher (garnet) (push) Has been cancelled
testing / test-remote-cacher (redict) (push) Has been cancelled
testing / test-mysql (push) Has been cancelled
testing / test-pgsql (push) Has been cancelled
testing / test-sqlite (push) Has been cancelled
testing / security-check (push) Has been cancelled

This commit is contained in:
Minecon724 2025-05-04 13:38:55 +02:00
commit 3c88f6e333
Signed by: Minecon724
GPG key ID: A02E6E67AB961189

View file

@ -28,28 +28,51 @@ This fork is a drop-in replacement. You can switch back and forth, as there are
You can see [all changes here](/git724/forgejo/commits/branch/v11.0/forgejo/search?q=Minecon724&all=). \
Don't be overwhelmed, as commits are very granular.
### Builds
### Download
Docker builds [are available here](https://hub.docker.com/r/minecon724/forgejo724) for arm64.
Docker builds [are available here](https://hub.docker.com/r/minecon724/forgejo724) for amd64 and arm64.
### Changelog
- 11.0.0
- Dropped [pronouns patch](/git724/forgejo/commit/e82e33e1161288dd395592a1ea232611a9376c36), because [it's upstream](https://codeberg.org/forgejo/forgejo/pulls/6835) (I stole it unknowingly)
- Simplified [Improve theme picker](/git724/forgejo/commit/9542895e03e487cfd0a7c673257cc383295b5d76), because of [some good changes upstream](https://codeberg.org/forgejo/forgejo/pulls/7168)
---
## For developers
### Building
To build, [follow the official instructions](https://forgejo.org/docs/next/contributor/from-source/)
To build for multiple architectures:
1. Setup: (only do this once)
Build a single image for multiple architectures:
1. Setup: (do this once)
```bash
docker buildx create --name mybuilder --use
docker buildx inspect --bootstrap
docker run --privileged --rm tonistiigi/binfmt --install all
```
2. Build:
```bash
docker buildx build --platform linux/amd64,linux/arm64 -t user/repo:tag --push .
```
You can add more architectures, if you wish.
Replace the tag. You can add more architectures, if you wish.
You may get rate-limited (429) by code.forgejo.org. Try building for one architecture at a time.
### Merge
Make sure you checked out the branch to merge to.
1. ```bash
git remote add upstream https://codeberg.org/forgejo/forgejo.git
```
2. ```bash
git fetch --no-tags upstream
```
3. ```bash
git merge upstream/$BRANCH
```
### Changelog
- 11.0
- Dropped [pronouns patch](/git724/forgejo/commit/e82e33e1161288dd395592a1ea232611a9376c36), because [it's upstream](https://codeberg.org/forgejo/forgejo/pulls/6835) (I stole it unknowingly)
- Simplified [Improve theme picker](/git724/forgejo/commit/9542895e03e487cfd0a7c673257cc383295b5d76), because of [some good changes upstream](https://codeberg.org/forgejo/forgejo/pulls/7168)
### Tag a release
```
git tag $TAG
git push origin tag $TAG
```