-
Notifications
You must be signed in to change notification settings - Fork 269
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
Fix for parsing ls output in detect_manifest_path #133
Conversation
NOTICE: we probably should use a different approach than parsing ls results
O wow, there are several forks that include almost similar fix. Why the fix is not yet merged? |
bump, I've seen some new commits that were merged to master in the past few days. Could you guys also take a look at this PR ? |
👍 |
Having the same issue. |
@kirs what do you think? |
Same here
|
+1 for the fix |
+1 for this |
Any reason this hasn't been merged yet? Thank you for this. |
👍 fixed it for me as well. |
👍 |
+1 |
Have the maintainers seen this PR? Is this a good fix? Any feedback? |
I don't have a test case to prove it, but I think this approach will fail during TBH, the lack of unit tests (or any kind of tests whatsoever) in this project makes me hesitant to add code to fix an edge case like this. I'd worry about inadvertently breaking something. However, in place of tests, if you can post Capistrano logs that show a PR successfully doing both a backup and a restore with multiple manifests, I'll consider merging it. Sorry for being a downer, I know this is a big sore spot for those running into the multiple manifests problem. I just want to make sure we do this right. Also, does anyone have a theory for how multiple manifests come to exist in the same assets directory in the first place? |
@mattbrictson Thanks alot for taking the time to respond. I had a feeling there was a more robust solution... Maybe its worth getting this merged to help in the short term though. |
During
That would awesome! |
Guys, a fix that works, even if as simple as mine, is better than no fix. I see two main issues here:
In my humble opinion you should merge this fix and work on resolving the issue with multiple manifest files in a separate thread. I've been using this fix for months already, I've made dozens of deploys, even one rollback, and never had issues with it. |
Fix for parsing ls output in detect_manifest_path
Thank you all for the discussion and sorry for the late reaction. |
I agree that there should be a better way than parsing |
v1.1.6 released 🚀 |
Great, I can at least stop using a fork for now. |
…ride-setting * upstream/master: (24 commits) Preparing v1.1.8 Bring README up to date Handle arrays in normalize_asset_timestamps (capistrano#185) Updated configuration to avoid setting migration servers and improved recommendation Added recommendations section Remove duplicate explanations of :migration_role in README.md Your contribution goes here Add 1.1.7 release notes Prepare for 1.1.7 Fix code on README Allow overriding migration servers call Array#uniq to remove duplicated :linked_dirs Complete installation instructions Prepare for 1.1.6 Changelog for capistrano#133 /cc @januszm Moving capistrano related gems under the dev group Update changelog Update changelog Escape [ and ] when calling assets:clean rake task add clobber assets ...
NOTICE: we probably should use a different approach than parsing ls results