Now that our main projects are released, I think that is a good time
to bring this subject back to the table. Is there someone working on
this?
Cheers,
Henry Conceição
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
I already have git-svn repositories for all projects. What I need to
do now is rebase the history after the split to the history before the
split, for every project. Then upload them to github.
@mauricio: what can I do to help you?
Cheers,
Henry Conceição
I'll update my github repos with the latest svn commits, then upload
the base history somewhere.
I'll describe the process to stitch the history tomorrow, using grafts
and filter-branch.
On Jan 26, 7:55 pm, Mauricio Scheffer <mauricioschef...@gmail.com>
wrote:
Fork/clone the project, e.g. git://github.com/mausch/Castle.ActiveRecord.git
Fork/clone the trunk: git://github.com/mausch/castle.git
From the trunk repo:
Add a remote to the project's repo and fetch it. They don't have any
common commits, that's ok.
Let P be the SHA1 of the last commit in trunk before the project got
moved to its own repo.
Let R be the SHA1 of the first commit in the project's repo.
Create .git/info/grafts with these SHA1s R P (e.g.
"cd0f4f795cc8800661d5221b0b59f18129b2bacc
750b420d6db1b6096a821aa9acdfbfcfac18e7c4")
Check with gitk that both repos are now stitched together.
Let A,B,C,... be the heads (local branches and tags) of the project's
repo.
Run git filter-branch -- P..A P..B P..C ...
Check with gitk that everything's ok.
Remove the original heads: rm -Rf .git/refs/original
Add the buildscripts submodule: git submodule add
git://github.com/mausch/Castle.Buildscripts.git buildscripts (this
should be easily relocatable later)
Commit and push with tags to the project's (not the trunk's) github
Sample result: http://github.com/mausch/Castle.Components.Binder
Hope it's clear!
On Jan 27, 2:52 am, Mauricio Scheffer <mauricioschef...@gmail.com>
wrote:
> All git repos are updated. Ex svn trunk with all common history is athttp://github.com/mausch/castle.
On Jan 27, 11:35 pm, John Simons <johnsimons...@yahoo.com.au> wrote:
> Why is the git url git://github.com/mausch/Castle.ActiveRecord.git?
> Shouldn't it be git://github.com/castleproject/Castle.ActiveRecord.git
>
> ________________________________
> From: Mauricio Scheffer <mauricioschef...@gmail.com>
> > > > > To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
> > > > > For more options, visit this group athttp://groups.google.com/group/castle-project-devel?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
> To post to this group, send email to castle-pro...@googlegroups.com.
> To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/castle-project-devel?hl=en.
>
> ___________________________________________________________________________ _______
> Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for free at PLUS7.www.tv.yahoo.com.au/plus7
> > castle-project-d...@googlegroups.com<castle-project-devel%2Bun subs...@googlegroups.com>
> > .
> > > > > > > For more options, visit this group athttp://
> > groups.google.com/group/castle-project-devel?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Castle Project Development List" group.
> > > To post to this group, send email to
> > castle-pro...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > castle-project-d...@googlegroups.com<castle-project-devel%2Bun subs...@googlegroups.com>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/castle-project-devel?hl=en.
>
> > ___________________________________________________________________________
> > _______
> > > Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally,
> > and for free at PLUS7.www.tv.yahoo.com.au/plus7
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Castle Project Development List" group.
> > To post to this group, send email to castle-pro...@googlegroups.com
> > .
> > To unsubscribe from this group, send email to
> > castle-project-d...@googlegroups.com<castle-project-devel%2Bun subs...@googlegroups.com>
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
Cheers,
Henry Conceição
2010/1/28 Henry Conceição <henry.c...@gmail.com>:
> Mine is hconceicao
--
On Jan 28, 7:52 pm, Ayende Rahien <aye...@ayende.com> wrote:
> Slightly confused, is the SVN migration completed or not by now?
>
>
>
> On Fri, Jan 29, 2010 at 12:22 AM, Roelof Blom <roelof.b...@gmail.com> wrote:
> > Added.
>
> > 2010/1/28 Henry Conceição <henry.concei...@gmail.com>
>
> >> Mine is hconceicao
>
> >> Cheers,
> >> Henry Conceição
>
> >> --
> > You received this message because you are subscribed to the Google Groups
> > "Castle Project Development List" group.
> > To post to this group, send email to castle-pro...@googlegroups.com
> > .
> > To unsubscribe from this group, send email to
> > castle-project-d...@googlegroups.com<castle-project-devel%2Bun subs...@googlegroups.com>
Which brings up another issue: how do we build AssemblyInfo files now?
AFAIK there is no clean way to embed the sha1 in the assembly version.
I suggest we use something like Daniel shows in
http://www.tigraine.at/2009/10/27/simplifying-releases-through-git/ ,
but we would also use the "number of commits after tag" part.
On Jan 28, 8:33 pm, Mauricio Scheffer <mauricioschef...@gmail.com>
wrote:
Cheers John
2010/1/28 Henry Conceição <henry.concei...@gmail.com>
Mine is hconceicao
Cheers,
Henry Conceição
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
__________________________________________________________________________________
Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for free at PLUS7. www.tv.yahoo.com.au/plus7
Mauricio, thanks for taking care of this!
-rb
-----Original Message-----
From: castle-pro...@googlegroups.com
[mailto:castle-pro...@googlegroups.com] On Behalf Of Mauricio
Scheffer
Sent: Thursday, January 28, 2010 4:58 PM
To: Castle Project Development List
Subject: Re: Moving to Git
castle-project-d...@googlegroups.com.
-rb
-----Original Message-----
From: castle-pro...@googlegroups.com
[mailto:castle-pro...@googlegroups.com] On Behalf Of John Simons
Sent: Thursday, January 28, 2010 7:16 PM
To: castle-pro...@googlegroups.com
Subject: Re: Moving to Git
Personally, I build my version numbers as follows:
AssemblyVersion: major.minor.revision.commit_count
Example: AssemblyVersion("1.0.1.27")
AssemblyInformationalVersion: major.minor.revision.commit_count/
shorthash-branch build_number
Example: AssemblyInformationalVersion("1.0.1.27/1dd3-master build 6")
Where
major.minor.revision are set manually
commit_count is the total number of commits on the current branch,
which can be determined by: git rev-list HEAD | wc -l
shorthash are the first 4 characters of the commit hash
build_number is the sequential build number as provided by e.g. CCNet
See my rake buildscript for details: http://github.com/aloker/dotnet-raketools
You can safely ignore/disable the warning:
"You can ignore this warning if you encounter it when you create a
AssemblyInformationalVersionAttribute. The informational version is a
string that attaches additional version information to an assembly;
this information is not used at run time. Although you can specify any
text, a warning message appears on compilation if the string is not in
the format that is used by the assembly version number, or if it is in
that format but contains wildcard characters. This warning is
harmless."
BTW it would be great if you could fork http://github.com/castleproject/Castle.Buildscripts
and implement this :-)
--
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-pro...@googlegroups.com.
To unsubscribe from this group, send email to castle-project-d...@googlegroups.com.