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

Suggestions for improvements: export tags and preserve SHAs #26

Open
jcapogna opened this issue Jan 14, 2024 · 3 comments
Open

Suggestions for improvements: export tags and preserve SHAs #26

jcapogna opened this issue Jan 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@jcapogna
Copy link

I have recently started using this to export private repositories for public consumption. I'm really loving it!

I have a few suggestions for improvements. I'm willing to implement these myself so I welcome any feedback or suggestions.

1) Export tags

I use tags in git to tag release versions. I would like to include these in the exported repo as well.

2) Preserve SHAs

Ideally, I could cross-reference commits in my private and public repos. Is there a way to do the export while preserving SHAs?

Please let me know if these are technically possible to implement. As I said, I could potentially implement them myself. I just haven't looked into this sort of thing before.

@kubk
Copy link

kubk commented Feb 5, 2024

It doesn't seem like the library is supported. I use betterplace-gitexporter but I can't even find the GitHub link to their fork here: https://www.npmjs.com/package/betterplace-gitexporter

I believe you could create your own fork or reach the author of the library privately to transfer permissions. I like the project but don't have the capacity to support it. It just works and I am OK with that

@jcapogna
Copy link
Author

I'm using this fork: https://github.com/AppFlags/gitexporter

I also wrote a semantic-release plugin to facilitate something similar to gitexporter. This takes a project and "publishes" it to another Git repository. https://www.npmjs.com/package/semantic-release-git-publish

@pahaz
Copy link
Member

pahaz commented Mar 12, 2024

Sounds like a great contribution to the project's development. If you submit a PR, we will gladly accept it. For now, I'll mark this issue as an improvement request.

@pahaz pahaz added the enhancement New feature or request label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants