Skip to content

Conversation

fx-chun
Copy link
Member

@fx-chun fx-chun commented Dec 18, 2024

Based off the existing GithubPulls.pm and GitlabPulls.pm plugins.

Also adds an integration test for the new giteapulls input type to the existing gitea test.

Based off the existing GithubPulls.pm and GitlabPulls.pm plugins.

Also adds an integration test for the new 'giteapulls' input type to
the existing 'gitea' test.
@ahuston-0
Copy link

Hi!

Just adding in my own experience here, I just set this branch up on my existing flake (which I migrated from github to my self-hosted gitea instance) and it worked pretty seamlessly. Not sure what would be required to get this merged in, but this would be awesome to have.

image

@ahuston-0
Copy link

ahuston-0 commented Mar 31, 2025

Hi!

I opened a pr against fx-chun's fork (fx-chun#1), I updated the plugin docs for GiteaPulls and added a GiteaRefs plugin based on the GithubRefs plugin.

Evidence that its working as expected:
image
image
image

_iterate("$proto://$baseUrl/api/v1/repos/$owner/$repo/pulls?limit=100", $auth, \%pulls, $ua);

my $tempdir = File::Temp->newdir("gitea-pulls" . "XXXXX", TMPDIR => 1);
my $filename = "$tempdir/gitea-pulls.json";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this json already sorted?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context: #1522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants