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

ApplicationSet: Add RepositoryID to generated parameters for scmProvider #15820

Open
boris154 opened this issue Oct 5, 2023 · 3 comments · May be fixed by #22416
Open

ApplicationSet: Add RepositoryID to generated parameters for scmProvider #15820

boris154 opened this issue Oct 5, 2023 · 3 comments · May be fixed by #22416
Labels
component:application-sets Bulk application management related enhancement New feature or request

Comments

@boris154
Copy link

boris154 commented Oct 5, 2023

Summary

Add RepositoryID as part of the generated parameters in scmProvider

Motivation

In most cases when we need to get details for certain repo, using the name / namespace of the repo will required additional API call (first to search for the ID and then for the specific repo). By exposing the RepositoryID, we will be able to utilize it in various tools.

Proposal

From what it looks like, most (if not all) of the SCM providers already has the RepositoryID parameter. It should be exposed as a generated parameter.

@boris154 boris154 added the enhancement New feature or request label Oct 5, 2023
@boris154 boris154 changed the title ApplicationSet: Added RepositoryId to generated parameters for scmProvider ApplicationSet: Add RepositoryID to generated parameters for scmProvider Oct 5, 2023
@crenshaw-dev crenshaw-dev added the component:application-sets Bulk application management related label Oct 5, 2023
@nikzayn
Copy link
Contributor

nikzayn commented Oct 13, 2023

I will take this up!

/assign

nikzayn added a commit to nikzayn/argo-cd that referenced this issue Oct 13, 2023
@nikzayn nikzayn mentioned this issue Oct 13, 2023
7 tasks
@bcha
Copy link

bcha commented Nov 21, 2023

@nikzayn Any progress on this? I noticed that the pullRequest generator requires the ID, which would be nice to get from scmProvider with matrix generator.

@nikzayn
Copy link
Contributor

nikzayn commented Nov 22, 2023 via email

@geichelberger geichelberger linked a pull request Mar 19, 2025 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:application-sets Bulk application management related enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants