When the plugin is in svn, I believe that, without actually checking it
out from svn, there is some way to use standard Rails rake tasks to
'install' the plugin from svn, and then later to 'update' to latest
version, etc? It was on my list to investigate actually HOW to do this,
since I hadn't figured it out yet, but believed it was possible. rake
gem update or something?
Is there a similar way to do this when the thing is in git? It would be
awesome if any updated instructions could cover this too. Unless I'm
completely confused and what I'm talking about doens't make any sense,
which happens to me from time to time. :)
Jonathan
I am going to be working on the move to GitHub.
While fretting over the move, something dawned on me.
With the current proposed setups
(blacklight-demo with plugin) http://github.com/projectblacklight/blacklight-demo/tree/master
(blacklight-plugin only) http://github.com/projectblacklight/blacklight-plugin/tree/master
a potential user would only be able to get the master branch or trunk as you will.
I think it would be major turn off if I had to go someplace else to
download the current release. So I've been toying with the following plan of action
1- export everything from the svn repo
2- remove branches,tags etc. (all other cruft)
3- move releases/[demo-app | plugin]/* -> tags
4- rename all tags to just a version nummber i.e 2.2 or 2.3
5- import trunk/tags/branches into a local svn repo
6- use svn2git to convert to a git repo
7- clone from local git repo to break from svn
8- switch to newly cloned repo
9- remove the current [remote origin] section in .git/config
10- git remote add git@git...........
11- git push origin master
I've tried it on my personal account under the
http://github.com/chapman/blacklight/tree/master repository
and now the releases are git tags.
Does this sound correct? Is this the correct useage of git tags?
Am I on the right path or am I totaly off base?
Things to note here.
1 - The new tags/releases should mirror each other, i.e. in the blacklight-demo and blacklight-plugin repositories there should be matching tags.In this case that would leave us with a 2.2 & 2.3 tag in each
2 - The newly created tags will remain as is. i.e the blacklight-demo will still have the plugin installed by default. The plugin will be at whatever version it was when that tag/release was originally created.
Thanks
Vernon a.k.a. g8tor
P.S.
IT'S GRATE 2 BE A FLORIDA GATOR!
1- export everything from the svn repo
2- remove branches,tags etc. (all other cruft)
3- move releases/[demo-app | plugin]/* -> tags
4- rename all tags to just a version nummber i.e 2.2 or 2.3
5- import trunk/tags/branches into a local svn repo
6- use svn2git to convert to a git repo
7- clone from local git repo to break from svn
8- switch to newly cloned repo
9- remove the current [remote origin] section in .git/config
10- git remote add git@git...........
11- git push origin master
I've tried it on my personal account under the
http://github.com/chapman/blacklight/tree/master repository
and now the releases are git tags.
Does this sound correct? Is this the correct useage of git tags?
Am I on the right path or am I totaly off base?
Things to note here.
1 - The new tags/releases should mirror each other, i.e. in the blacklight-demo and blacklight-plugin repositories there should be matching tags.In this case that would leave us with a 2.2 & 2.3 tag in each
2 - The newly created tags will remain as is. i.e the blacklight-demo will still have the plugin installed by default. The plugin will be at whatever version it was when that tag/release was originally created.
Thanks
Vernon a.k.a. g8tor
P.S.
IT'S GRATE 2 BE A FLORIDA GATOR!
> Do you want to preserve every commit, or just enough to support the
> tags and branches you want to keep?
My vote is to only keep enough to support the tags and branches we
want to keep. I can't see a reason to keep every commit.
> Also, at some point in your migration, you may want to copy over svn
> ignores.
> I'd be happy to help in anyway I can.
Thank you, Ron. It's great to see a new face in the community. Welcome!
Bess
>
> Ron
I think Ron makes some very good points about the history and the size
of the projects.
I agree with Bess we should keep as much of the history as needed or as
possible to
support the tags that we are keeping which at the moment are 2.2 and
2.3. I also agree with Bess
welcome to the community Ron.
Ron, I attempted to use a straight git-svn clone, but that presented
some problems.
First, was that the way git-svn handled the tags, it made them branches
i.e. tags/blacklight-2.X it didn't make them git tags
Second was that it kept a "link" back to the svn repository. I think we
are trying to leave svn behind. As I said above, I think we probably
should make an attempt to move the supporting history to support the
tags we are keeping but I'm not sure how we could do that mainly because
of #2 below.
With all that I'm a little confused, so Bess , Ron or (Insert your name
here) please help.
1 - Isn't git svn for bidirectional operations between a Subversion
tree and git repo?
Doesn't that keep them linked with the svn tree being the central
repository still?
I thought the idea was that we were making a clean break from svn?
2 - (Ron) I'm not sure how we would keep the history, being that at
current the two projects are
combined in the svn trunk. I'm not sure how we would separate the
histories so that blacklight-demo history went with
blacklight-demo etc..
3 - Ron makes a great point about the size of the repository and the
vendorized gems. I was thinking that we could save some space on the
repository if we made most of those vendorized gems submodules of
the blacklight-plugin. Any objections concerns? I have been able
to locate git repos for 11 of the 16 vendorized gems here is the list:
rack
rdoc
haml
marc
ruby-xslt
git://github.com/binarylogic/authlogic.git
git://github.com/taf2/curb.git
git://github.com/mislav/hanna.git
git://github.com/mislav/will_paginate.git
git://github.com/mwmitchell/material_girl.git
git://github.com/mwmitchell/rsolr.git
git://github.com/mwmitchell/rsolr-ext.git
git://github.com/tenderlove/nokogiri.git
git://github.com/dchelimsky/rspec.git
git://github.com/dchelimsky/rspec-rails.git
git://github.com/brynary/webrat.git
4 - (Ron) I was never a big svn user so If you would like to handle the
copying over of the svn ignores that would be great. I'm not sure what
you might need from me but just let me know.
Whatever the outcome, I would like to have a finalized plan soon or we
can push the move back (I'd rather not but I'm one person )until we have
a better plan that everyone can live with.
Thanks
Vern
P.S. How about those GATORS!
> But I know we've already had this discussion and clearly we all agreed to
> vendorize this stuff.
I understand the need to vendorize -- I don't really see the need to
store them in SCM, though.
What's the rationale for that?
-Ross.
Vernon, you're the driving force in this. How would postponing the
move for a week be for you?
Bess
I'm up for whatever.
I just want to get it done right.
I'm not too sure, next week is the week. My Boss will be out of town and
I will be acting in her place. Meetings etc so I'm not sure it would be
good,
the week after no problem.
In light of the lively discussion this has generated, I vote we postpone
it till then.
However, in the mean time can we come to some kind of consensus on what we
are going to do?
I say bring over the 2.X releases (as is) as git tags along with the
trunk as master,
add a doc folder (along side jetty & rails in the demo and the top
level of the plugin)
with a README explaong the log situation. Finally remove the vendorized gems
to save space on the git account and replace them with Matt's template
(http://gist.github.com/183080).
(I'm probably missing somethings but that is the gist of it )
What say you blacklight?
Vernon
+1
It doesn't seem like time is so of the essence that it cannot wait 2 weeks.
-Ross.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To post to this group, send email to blacklight-...@googlegroups.com
To unsubscribe from this group, send email to blacklight-develo...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/blacklight-development?hl=en
-~----------~----~----~----~------~----~------~--~---
Thanks to some awesome work on the install template by Matt ,
moving over to Git is becoming a reality. In recent days, the need
for the demo application has been called in to question. This has
raised the
question of whether the old organization of the code base (separate
demo and plugin)
has as much relevance in our new Git world.
During today's commiters call, we agreed that we do not see a need to
bring the older releases of blacklight over to the new git repository.
We feel that making a clean break from subversion will make the
transition easier.
To be clear, the current site (blacklight.rubyforge.org) would still be
available, for those needing
older versions of the demo application as well as the plugin.
With that said, we would like to open the floor to anyone that might
have an
objection to such a move. It is imperative that if you have an objection
to us leaving the
older versions of blacklight behind that you voice you opinion so that
your objections
can considered before a decision in made.
Thanks
g8tor
**