Random tools and helpers to work on a soft fork.
- Shell 100%
|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #15 |
||
|---|---|---|
| .gitignore | ||
| .woodpecker.yml | ||
| api-test.sh | ||
| api.sh | ||
| archive-branches-test.sh | ||
| archive-branches.sh | ||
| common-test.sh | ||
| common.sh | ||
| git.sh | ||
| main.sh | ||
| pull-branches.sh | ||
| README.md | ||
| rebase-test.sh | ||
| rebase.sh | ||
| tests.sh | ||
In support of the documented Forgejo workflow.
Dry run
DRY_RUN=dry_run REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh archive_branches and copy paste the output in a shell
Archive branches
REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh archive_branches
Rebase branches
OWNER=forgejo NAME=forgejo FORGEJO_INSTANCE=codeberg.org FORGEJO_SCHEME=https FORGEJO_TOKEN=$rebasetoken REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh rebase_feature_branch v1.18/forgejo-development