Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gitea / forgejo support #28

Merged
merged 34 commits into from
Sep 26, 2024
Merged

Add gitea / forgejo support #28

merged 34 commits into from
Sep 26, 2024

Conversation

anbraten
Copy link
Member

add gitea support

waiting for:

@anbraten
Copy link
Member Author

@pat-s FYI I currently have two missing api-endpoints, might be existing already and part of another endpoint though.

@anbraten anbraten marked this pull request as draft November 10, 2023 00:14
@qwerty287 qwerty287 added the feature Add new feature label Dec 13, 2023
@qwerty287
Copy link
Contributor

I opened PRs at gitea to support this: go-gitea/gitea#29242 and go-gitea/gitea#29243

@6543 @pat-s you're the gitea maintainers, maybe you can take a look?

@Andre601
Copy link

Andre601 commented Apr 8, 2024

Curious to know the state of this PR. By the looks of it are the mentioned PRs in gitea merged by now.

@qwerty287
Copy link
Contributor

@anbraten currently waits for the next release of gitea and forgejo that will contain these PRs.

src/forges/github.ts Outdated Show resolved Hide resolved
@qwerty287
Copy link
Contributor

Forgejo has an release already and codeberg is updated to it, so testing with codeberg should work

@6543
Copy link
Member

6543 commented May 3, 2024

hmm typecheck is not happy :/

@qwerty287
Copy link
Contributor

Gitea 1.22 is also out now

@qwerty287
Copy link
Contributor

@anbraten what's the state here?

@anbraten
Copy link
Member Author

Should be ready to test I think

@pat-s
Copy link
Contributor

pat-s commented Jul 15, 2024

Can you resolve conflicts and build an image? Happy to test in woodpecker-plugins.

@anbraten anbraten marked this pull request as ready for review July 15, 2024 21:51
@anbraten
Copy link
Member Author

Should be available as anbraten/plugin-ready-release-go:gitea

src/utils/config.ts Outdated Show resolved Hide resolved
@pat-s
Copy link
Contributor

pat-s commented Jul 16, 2024

Forgejo support is needed

Forge type not supported: forgejo

https://ci.codeberg.org/repos/9651/pipeline/311/3

README.md Show resolved Hide resolved
@pat-s
Copy link
Contributor

pat-s commented Sep 10, 2024

https://codeberg.org/woodpecker-plugins/node-pm/pulls/40 does not yet work correctly. Just reran it. @6543 Why did you approve?

@6543
Copy link
Member

6543 commented Sep 10, 2024

I approved anbratens part and requested for review for my changes from other maintainers

@6543 6543 requested a review from pat-s September 11, 2024 10:20
@6543
Copy link
Member

6543 commented Sep 11, 2024

https://codeberg.org/woodpecker-plugins/node-pm/pulls/40 does not yet work correctly. Just reran it. @6543 Why did you approve?

uh sorry i did got your msg worng ... let me see why that one fails 🦢

@6543
Copy link
Member

6543 commented Sep 11, 2024

@6543
Copy link
Member

6543 commented Sep 11, 2024

hmm https://ci.codeberg.org/repos/13734/pipeline/15/3 tag creation did not work :/

@6543 6543 marked this pull request as draft September 11, 2024 14:15
@pat-s
Copy link
Contributor

pat-s commented Sep 20, 2024

There are a lot of 404s in this run: https://ci.codeberg.org/repos/9651/pipeline/363/7

src/forges/gitea.ts Outdated Show resolved Hide resolved
src/forges/gitea.ts Outdated Show resolved Hide resolved
@anbraten anbraten marked this pull request as ready for review September 26, 2024 06:10
@6543
Copy link
Member

6543 commented Sep 26, 2024

This is still not addressed: https://ci.codeberg.org/repos/13734/pipeline/15/3

@6543
Copy link
Member

6543 commented Sep 26, 2024

(It could not create the tag & release)

@anbraten
Copy link
Member Author

anbraten commented Sep 26, 2024

It is. You forgot to enable releases in codeberg. After enabling it, it works: https://ci.codeberg.org/repos/13734/pipeline/17/3

@6543 6543 merged commit 81d223b into main Sep 26, 2024
3 checks passed
@6543 6543 deleted the gitea branch September 26, 2024 06:22
@woodpecker-bot woodpecker-bot mentioned this pull request Sep 26, 2024
1 task
@woodpecker-bot
Copy link
Contributor

🎉 This PR is included in version 2.0.0 🎉

The release is now available here

Thank you for your contribution. ❤️📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Add new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants