update other repo from within vendor

2 views
Skip to first unread message

Andrew Arrow

unread,
Apr 13, 2009, 9:01:36 PM4/13/09
to Piston
Let's say I have a rails project foo. With git repo

git://github.com/demo/foo.git

And in foo vendor I have:

foo/vendor/gems/bar/lib/bar.rb

And let's say the bar gem is managed by Piston and it's repo is:

git://github.com/demo/bar.git

Is there a way for me to lock down the version of bar in foo's vendor
directory for everyone else on my team... but still allow me to push
updates to bar from within the

foo/vendor/gems/bar/lib/

directory?

François Beausoleil

unread,
Apr 13, 2009, 10:33:26 PM4/13/09
to piston-d...@googlegroups.com
Hello Andrew,

What are you trying to do? I think I read you want to keep changes in
your own local repository that you do not want to share with the rest
of your team.

Or are you talking about piston lock?

http://piston.rubyforge.org/lock.html

(Yes, this page is very, very anemic)

Thanks!
--
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/

Andrew Arrow

unread,
Apr 14, 2009, 12:00:44 AM4/14/09
to Piston
I'm trying to keep a stable version for the team but also be able to
work on my gem in the vendor directory and push that work out to the
git repo. Because if I have to checkout a another directory with my
gem and copy all my changes over from the vendor directory to that
other directory I'll never do it, and my gem won't get updated.

On Apr 13, 7:33 pm, François Beausoleil
Reply all
Reply to author
Forward
0 new messages