Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] [sm-discuss] about grimoires from git branches

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Javier Vasquez <j.e.vasquez.v AT gmail.com>
  • To: Jaka Kranjc <smgl AT lynxlynx.info>
  • Cc: "sm, discuss" <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] [sm-discuss] about grimoires from git branches
  • Date: Sun, 23 Feb 2014 20:00:36 -0600

>> On Sat, Jan 18, 2014 at 7:33 PM, Javier Vasquez <j.e.vasquez.v AT gmail.com>
>> wrote:
>>
>> Hmm,
>>
>> I get:
>>
>> Updating grimoire xorg-modular from
>> git_http://scm.sourcemage.org/smgl/grimoire.git:xorg-modular:devel-xorg-modular
>> Fetching...
>>
>> Which means it's executing:
>>
>> message "${MESSAGE_COLOR}Fetching...${DEFAULT_COLOR}"
>> GIT_DIR="$GIT_DIRECTORY/.git" git fetch -v "$GIT_ROOT" "$GIT_TAG"
>> || continue
>>
>> But it seems "-v" is not helping, because I see no verbose output at
>> all. And it seems to be downloading the whole thing.
>>
>> Notice "Fetching..." output corresponds to the "message" instruction
>> above, inside dl_git. Bad thing is that I can't find what's causing
>> the upgrade to download everything again. Notice that as the
>> directory from prior update is there, the message for initializing a
>> new directory doesn't show up, as expected...
>>
>> Is it than only me is getting this behavior?
>
>
> OK, I had to perform a 2nd sorcery -s, and on that I noticed the 2nd
> update didn't take much to update. I'm not sure if git makes a
> decision on "git fetch" to start from scratch when the delta is big,
> or if it's just that the changes are huge and it takes that much, :-)


Given the time spent on the grimoire update from git branch, I cloned
and branched locally to devel-xorg-modular, and then made it a local
grimoire through "scribe localize" (suggestion someone provided some
time back), and the response time is way less on git pull...

Granted I couldn't see what's wrong with the fetching approach, but
perhaps not all objects are pulled on fetch, which makes next update
take longer...

Any ways, just wanted to share it.

Thanks,

--
Javier.




Archive powered by MHonArc 2.6.24.

Top of Page