{"issue":{"pull_request":{"diff_url":"https://github.com/symfony/symfony-standard/pull/232.diff","html_url":"https://github.com/symfony/symfony-standard/pull/232","patch_url":"https://github.com/symfony/symfony-standard/pull/232.patch"},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/efd087b3c1ac43def6e3e926ad633c25?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"efd087b3c1ac43def6e3e926ad633c25","url":"https://api.github.com/users/meonkeys","login":"meonkeys","id":50639},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-11-11T20:33:11Z","comments":1,"closed_at":null,"url":"https://api.github.com/repos/symfony/symfony-standard/issues/232","body":"I'm often developing several Symfony2 bundles at once. I have them all\r\nset up as deps for a single Symfony2 application, and I point Netbeans\r\nat the base of the Symfony2 directory.\r\n\r\nSince each [sub]dir in vendor/ is a complete git repository, after\r\nmaking a bunch of changes I can then dive into each dir and commit/push\r\nas necessary.\r\n\r\nIf I accidentally run \"bin/vendors install\" while I have un-pushed\r\nchanges, they're blown away by the \"git reset --hard\" in bin/vendors.\r\nThis patch proposes to make the script more cautious, assuming that\r\nlocal modifications should never be blown away. Note that \"--force\" is\r\nunimplemented, this is just one idea.\r\n\r\nAlso see my recent post about same to the symfony-devs mailing list.","html_url":"https://github.com/symfony/symfony-standard/issues/232","title":"bin/vendors: break if a bundle has local modifications","number":232,"id":2181513,"created_at":"2011-11-09T00:30:52Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/61f5bc0e0711aaba1372e06b541cd645?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"61f5bc0e0711aaba1372e06b541cd645","url":"https://api.github.com/users/Problematic","login":"Problematic","id":744424},"updated_at":"2011-11-11T20:33:11Z","url":"https://api.github.com/repos/symfony/symfony-standard/issues/comments/2712895","body":"I'm -1 on this; I feel like bin/vendors should never contain user modifications, and so I WANT any changes that have crept in to be blown away. Any time I've been tempted to write hacky code as a shortcut, this deters me and forces me to find a cleaner way to handle things :)\r\n\r\nIn development, I usually point the autoloader to a local path on my machine where I'm making changes (you can even pass it an array if you have some production bundles and some in development within the same namespace, though you have to be careful with this because odd things can and do happen). Then I can easily isolate my work (into a new Netbeans project, for example), commit at will, and not be at risk of losing work from a rogue `php bin/vendors install` call.","id":2712895,"created_at":"2011-11-11T20:33:11Z"}}