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

Use different git repository than Github #37

Open
marius-dgmd opened this issue Jul 8, 2024 · 3 comments
Open

Use different git repository than Github #37

marius-dgmd opened this issue Jul 8, 2024 · 3 comments

Comments

@marius-dgmd
Copy link

I see that in https://github.com/loupeteam/LPM/blob/main/src/LPM.py#L499 it is hardcoded to use Github repository. In an enterprise setup we cannot use that but we want instead to use own/corporate Git repository. Would it be possible to have it configured?

@agrayzel
Copy link
Member

agrayzel commented Jul 8, 2024

Thanks for creating this issue! Here at Loupe, we use Github to host our packages that are available for distribution, so configuring a Github credential is a necessary step to download those binaries. Two things to note for that: Firstly, we have public credentials that can be used (you don't need to create a Github account). Secondly, this isn't storing any of the code that you write, it is just to access the code that we have made publicly available. In its current form, you can absolutely use LPM in a private repository with a self-hosted remote.

If your question is about publishing and downloading your own packages to/from a privately hosted server, that definitely seems like something that could be configured with some changes to the code in LPM. At the moment Loupe doesn't have the capacity to take on that dev work, but you are more than welcome to fork the repo and try your hand at making those changes yourself. If you wanted to open a PR back into our main we would also be happy to review those changes!

@agrayzel agrayzel closed this as completed Jul 8, 2024
@agrayzel
Copy link
Member

agrayzel commented Jul 8, 2024

Let me know if any of this is unclear or you have any other questions or things you'd like to discuss!

@agrayzel
Copy link
Member

Reopening this issue to keep it on the radar as a potential improvement which could be made. We agree that hosting packages from another org isn't currently supported but could be possible with some development work. Loupe will not be doing this work in the foreseeable future due to constraints on our developers' time, but would be happy to review a pull request if someone wanted to fork and open a PR back.

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

No branches or pull requests

2 participants