plainblack.com
Username Password
search
Bookmark and Share

    

Git advice needed

User knowmad
Date 7/1/2010 9:20 pm
Views 538
Rating -1    Rate [
|
]
Previous · Next
User Message
knowmad

Hey all,

I'm working on putting together a list of significant updates for the 7.x series of releases. I'd like to include the date & revision # when each release went stable. Can someone help me figure out how to get that information from the git repo?

 

Thanks,
William

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
perlDreamer
On 07/01/2010 07:20 PM, william@knowmad.com wrote:
> knowmad wrote:
>
> I'm working on putting together a list of significant updates for the
> 7.x series of releases. I'd like to include the date & revision # when
> each release went stable. Can someone help me figure out how to get that
> information from the git repo?
>

Very simple, unsatisfactory answer: "git log".

In general, release commits are done pretty consistently:

Preparing for 7.x.y release
Ready for 7.x.y+1 dev

That makes git -S to be a good candidate for prescreening.


Back to Top
Rate [
|
]
 
 
martink
On 07/02/2010 05:00 AM, colink@perldreamer.com wrote:
perlDreamer wrote:

On 07/01/2010 07:20 PM, william@knowmad.com wrote:
> knowmad wrote:
>
> I'm working on putting together a list of significant updates for the
> 7.x series of releases. I'd like to include the date & revision # when
> each release went stable. Can someone help me figure out how to get that
> information from the git repo?
>

Very simple, unsatisfactory answer: "git log".

Also possible: go to github's web interface at http://github.com/plainblack/webgui

Use the Switch Tags drop down menu to go to the right version. The commit hash is shown in the blue box below.



Through command line the easiest way is to just switch to the correct tag:

    git checkout v7.7.14

Git will tell you to which commit it switched together with the log message:

    martin@hopla:/data/WebGUI/lib/WebGUI$ git checkout v7.7.14
    Previous HEAD position was 60b6620... re-adding necessary template
    HEAD is n ow at 49ce8d2... Preparing for 7.7.14 release.

Sometimes the tag is placed wrong, but you'll see that when you checkout the tag. In that case running git log will point you to the correct commit.


Mostly going through the web interface will be faster because going from eg. HEAD to 7.5.2 will require a lot of patching on the files in your file system by git.

Which releases introduced the stable label you can probably find here: http://update.webgui.org/7.x.x/

Martin


Back to Top
Rate [
|
]
 
 
Graham
To find the information about a specific tag, you can use the show command.

$ git show -s v7.9.5
commit 4969f31e1f76b5da10cf45991b49b0de3c4a5f95
Author: Colin Kuskie
Date:   Tue May 18 20:13:12 2010 -0700

   Preparing for 7.9.5 release


Back to Top
Rate [
|
]
 
 
knowmad

Thanks for all the input guys. I've started following your advice to figure out the dates which has brought up another question. How will I know when a release goes from beta to stable? For example, I'm currently trying to figure out when v7.0.x when stable.

 

Thanks again for the advice,
William

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
Trex

Several months back, when we were preparing for a multi-version upgrade, I started working on a grid of WebGUI versions vs. WRE versions because some combinations did not work well together. At a minimum, I wanted to see which versions of WRE were out at the time each WebGUI version was released. (Ideally, it would be nice to have a grid of which versions of WRE will work with which versions of WebGUI.) Unfortunately, I can no longer locate the spreadsheet in which I was compiling this information.

If there is a way for you to also pull out WRE release information and line it up chronologically with the various WebGUI 7.x releases, that would be very helpful for people who need to upgrade through multiple major versions. If I ever relocate the spreadsheet I was working on, I'd be happy to start up a wiki page.



Back to Top
Rate [
|
]
 
 
knowmad

Hi Dale,

Actually, the goal of the revision review is to identify major updates between releases. The changelog has a lot of chatter from bugfixes and other minor improvements that get mixed in with the major improvements. I'm trying to see what big capabilities are added between releases.

The release dates would be nice to know from a historical perspective but not urgent. I may just have to give the .0 revision date as it doesn't appear easy to find the stable release dates from version control logs. I'm not sure that my documentation will be helpful for your purposes.

 

William

PS: Will you be at the WUC this year?

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
knowmad

OK, it's Friday so give me some slack. I just realized that I'm making this harder than it needs to be ;). The file listing of downloads at http://update.webgui.org/7.x.x/ has the release dates along with when the release went stable. So simple!

 

William

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved