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

Archive Method: Add git repository archiving for github, bitbucket, and gitlab URLs #49

Closed
pirate opened this issue Nov 2, 2017 · 6 comments
Labels
why: functionality Intended to improve ArchiveBox functionality or features
Milestone

Comments

@pirate
Copy link
Member

pirate commented Nov 2, 2017

Great suggestion by @FiloSottile !

@pirate pirate changed the title Add git repository archiving for github, bitbucket, and gitlab URLs Archive Method: Add git repository archiving for github, bitbucket, and gitlab URLs Nov 2, 2017
@pirate pirate added this to the v0.0.4 milestone Jan 9, 2018
@pirate pirate added why: functionality Intended to improve ArchiveBox functionality or features and removed size: easy easy labels Dec 7, 2018
@pirate
Copy link
Member Author

pirate commented Jan 11, 2019

This is done in 0df0987, let me know if you run into any troubles with it by commenting here or opening a new issue.

@pirate pirate closed this as completed Jan 11, 2019
@FiloSottile
Copy link
Contributor

Maybe also pass --mirror to git clone.

@pirate
Copy link
Member Author

pirate commented Jan 13, 2019

Good idea. Just added it 321cded.

@0x326
Copy link

0x326 commented Sep 12, 2020

@pirate I noticed the --mirror option is no longer on master. Since there are perhaps two use cases (non-Git users just access the source code via HTTP; Git users might use the archive as a read-only Git remote), could there be a second archive extractor with that saves the Git history using the --mirror flag?

@pirate
Copy link
Member Author

pirate commented Sep 13, 2020

That is indeed correct, I changed it because I was having difficulty using the --mirror output in a different extractor I was planning, but I can add an option back to re-enable it.

Would you be ok with a config flag to choose whether you want --mirror or not @0x326? (I'd like to avoid an extra extractor if possible)

@0x326
Copy link

0x326 commented Sep 14, 2020

@pirate I think a config flag would be a good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
why: functionality Intended to improve ArchiveBox functionality or features
Projects
None yet
Development

No branches or pull requests

3 participants