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

ImportAdded support for in-place and link imports #1170

Merged
merged 2 commits into from Dec 28, 2014

Conversation

silb
Copy link
Collaborator

@silb silb commented Dec 25, 2014

Fix for the ImportAdded plugin crashing during in-place imports (#1107).

Add support for the new link imports introduced in Beets 1.3.9.

Note that link-imports that preserve file modification times will follow
the links and preserve the mtimes on the link targets. The mtimes on the
links aren't modified.

Fix for the `ImportAdded` plugin crashing during in-place imports (beetbox#1107).

Add support for the new link imports introduced in Beets 1.3.9.

Note that link-imports that preserve file modification times will follow
the links and preserve the mtimes on the link targets. The mtimes on the
links aren't modified.
if not (session.config['copy'] or session.config['move'] or
session.config['link']):
log.debug(u"In place import detected, recording mtimes from source"
u"paths")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wrapped string seems to be missing a space at the break.

@sampsyo
Copy link
Member

sampsyo commented Dec 28, 2014

Awesome; thank you! ✨ It looks like something is going wrong in a different couple of tests on Python 2.6, according to Travis—any clues as to why?

@silb
Copy link
Collaborator Author

silb commented Dec 28, 2014

I don't know what's wrong with the 2.6 tests. I ran all of them locally without any failures using tox.

@sampsyo
Copy link
Member

sampsyo commented Dec 28, 2014

OK, thanks for the information. It's possible it's just a fluke. Merging now! Thanks again for your stewardship of ImportAdded. 🎉

@sampsyo sampsyo merged commit 9227a51 into beetbox:master Dec 28, 2014
sampsyo added a commit that referenced this pull request Dec 28, 2014
ImportAdded support for in-place and link imports
sampsyo added a commit that referenced this pull request Dec 28, 2014
@silb
Copy link
Collaborator Author

silb commented Jan 5, 2015

You're welcome!

Since I created the plugin, I feel a certain responsibility ensure that it keeps working :-)

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

Successfully merging this pull request may close these issues.

None yet

2 participants