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

Backup pip3 packages #211

Closed
AlexanderProd opened this issue Jan 5, 2019 · 8 comments
Closed

Backup pip3 packages #211

AlexanderProd opened this issue Jan 5, 2019 · 8 comments
Labels
backup bug Something isn't working

Comments

@AlexanderProd
Copy link
Contributor

I'm wondering why this hasn't been requested yet but theres no backup of pip packages at the moment.

@alichtman
Copy link
Owner

alichtman commented Jan 5, 2019

In backup.py:

# pip
print_pkg_mgr_backup("pip")
command = "pip list --format=freeze"
dest = "{}/pip_list.txt".format(backup_path)
	run_cmd_write_stdout(command, dest)

Yes, there is.

@AlexanderProd
Copy link
Contributor Author

AlexanderProd commented Jan 5, 2019

@alichtman Oh sorry I didn't realize that, but it seems like I've got a bug then because shallow-backup never backuped any pip packages on my local machine.

@alichtman
Copy link
Owner

Hmm. Are you sure you use pip and not pip3?

@alichtman
Copy link
Owner

Just tested this out and I've got a pip backup.

image

@AlexanderProd
Copy link
Contributor Author

AlexanderProd commented Jan 5, 2019 via email

@alichtman
Copy link
Owner

Want to open a PR for that? It's the same exact code as for backing up pip, just subbing in pip3 for pip.

@alichtman alichtman added bug Something isn't working backup labels Jan 5, 2019
@alichtman alichtman reopened this Jan 5, 2019
@alichtman alichtman changed the title Backup pip packages Backup pip3 packages Jan 5, 2019
@AlexanderProd
Copy link
Contributor Author

Fix included in #205

@alichtman
Copy link
Owner

I leave issues open until fixes are merged in.

@alichtman alichtman reopened this Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backup bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants