Woodpecker is a community fork of the Drone CI system.
Find a file
qwerty287 52d3652f2e
Fetch repositories with remote ID if possible (#1078)
Use IDs of the forge to fetch repositories instead of their names and owner names. This improves handling of renamed and transferred repos.

TODO

- [ ] try to support as many forges as possible
    - [x] Gogs (no API)
    - [ ] Bitbucket Server
    - [x] Coding (no API?)
- [x] update repo every time it is fetched or received from the forge
- [x] if repo remote IDs are not available, use owner / name to get it
- [x] handle redirections (redirect a renamed repo to its new path)
- [x] ~~pull all repos once during migration to update ID (?)~~ issue fixed by on-demand loading of remote IDs
- [x] handle redirections in web UI
- [ ] improve handling of hooks after a repo was renamed (currently it checks for a redirection to the repo)
- [x] tests
- [x] `UNIQUE` constraint for remote IDs after migration shouldn't work (all repos have an empty string as remote ID)

close #854
close #648 partial
close https://codeberg.org/Codeberg-CI/feedback/issues/46

Possible follow-up PRs
- apply the same scheme on everything fetched from the remote (currently only users)

Co-authored-by: 6543 <6543@obermui.de>
2022-09-05 17:08:51 +02:00
.github Fix screenshot upload for issue template (#1062) 2022-08-01 07:43:21 +02:00
.vscode Fix vscode eslint/prettier settings and Vue extension recommendation (#1084) 2022-08-14 16:34:21 +02:00
.woodpecker Add dependency security check using trivy (#1163) 2022-09-03 20:46:48 +02:00
agent Move away from deprecated go funcs (#1123) 2022-08-25 08:39:19 +02:00
charts Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
cli Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
cmd Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
docker Migrate to certmagic (#360) 2022-09-04 03:24:42 +02:00
docs Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
nfpm fix nfpm (#788) 2022-02-24 15:35:11 +01:00
pipeline Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
server Fetch repositories with remote ID if possible (#1078) 2022-09-05 17:08:51 +02:00
shared bump DefaultCloneImage version to v1.4.0 2022-08-30 22:28:33 +02:00
version gofumpt -w -l -extra . (#661) 2022-01-05 21:50:23 +01:00
web Fetch repositories with remote ID if possible (#1078) 2022-09-05 17:08:51 +02:00
woodpecker-go Add cron feature (#934) 2022-09-01 00:36:32 +02:00
.changelog.yml Changelog for v0.14.1 (#334) (#340) 2021-09-23 02:21:28 +02:00
.ecrc Use editorconfig-checker (#982) 2022-06-17 12:03:34 +02:00
.editorconfig Use editorconfig-checker (#982) 2022-06-17 12:03:34 +02:00
.gitignore Add option to launch all needed services for local development (#988) 2022-06-17 16:24:49 +02:00
.gitpod.yml Add gitpod setup (#1020) 2022-07-31 17:07:18 +02:00
.golangci.yml Lint code with gofumpt (#664) 2022-01-06 07:44:14 +01:00
CHANGELOG.md Add Changelog v0.15.2 (#966) (#967) 2022-06-14 15:07:53 +02:00
CONTRIBUTING.md Mention Matrix Space & Rooms in Readme & Docs (#646) 2021-12-30 11:53:52 -06:00
docker-compose.example.yml Change paths to use woodpecker instead of drone (#494) 2021-10-28 14:02:43 -05:00
docker-compose.gitpod.yml Add gitpod setup (#1020) 2022-07-31 17:07:18 +02:00
go.mod Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
go.sum Adding initial version of Kubernetes backend (#552) 2022-09-05 06:01:14 +02:00
LICENSE Optimize license files (#355) 2021-09-25 15:15:54 +02:00
Makefile Fetch repositories with remote ID if possible (#1078) 2022-09-05 17:08:51 +02:00
README.md Add Translation Platform to Docs (#1168) 2022-09-04 09:37:27 +02:00
SECURITY.md Create SECURITY.md (#396) 2021-10-03 16:15:58 +02:00

Woodpecker


Translation status


Woodpecker

Woodpecker is a community fork of the Drone CI system.

woodpecker

🫶 Support

Please consider to donate and become a backer. 🙏 [Become a backer]

🚀 Usage

.woodpecker.yml

  • Place your pipeline in a file named .woodpecker.yml in your repository
  • Pipeline steps can be named as you like
  • Run any command in the commands section

Read More

Build steps are containers

  • Define any Docker image as context
  • Install the needed tools in custom Docker images, use them as context

Read More

Plugins

Woodpecker has official plugins, but you can also use your own.

Read More

📖 Documentation

https://woodpecker-ci.org/

Contribute

See Contributing Guide

Open in Gitpod

📣 Translate

We use a own Weblate instance at translate.woodpecker-ci.org.

Translation status

👋 Who uses Woodpecker?

Codeberg, the Woodpecker project itself, and many others.

Leave a comment if you're using it as well.

Also consider using the topic WoodpeckerCI in your repository, so others can learn from your config and use the hashtag #WoodpeckerCI when talking about the project on social media!

Here are some places where people mention Woodpecker:

Stars over time

Stargazers over time

License

Woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.

Files under the docs/ folder are licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License.