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 repository data source. #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jedesroches
Copy link

This PR tries to add a minimal data source for repositories, for cases where we
want to administer deployments and variables but not actual repositories that
may have been created some other way.

I've never written go in my life before this though, so hopefully I haven't made
any big mistakes.

Cheers!

@jedesroches
Copy link
Author

This (probably) fixes #203 which I also happen to need :)

@jedesroches
Copy link
Author

Hey :) Any chance of getting this merged ?

@sergaks
Copy link

sergaks commented Jul 24, 2024

It's really needed to be merged

@DrFaust92
Copy link
Owner

Hi, this is missing some docs + tests to merge. please add those and we can go ahead and merge

@jedesroches
Copy link
Author

Hi @DrFaust92, I've added some docs but I'm going to need a bit of help for the test parts, my go is just too new. How should I setup the tests ? Can I put an example JSON response somewhere and check that the parsing goes through correctly ? I've looked at the tests for the resource repository and they don't really seem like they're applicable here

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