digikam update entire source tree

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

digikam update entire source tree

kinnalru@gmail.com
Hello.

To obtain all source tree I use ./download-repos script, as described on Digikam homepage.

What ./gits perl scrip doing(I read that it runs git command in each slave repo)?
Why git submodules not used?
And the main question how to update enture source tree(with all slave repos)?

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam update entire source tree

Gilles Caulier-4
This script can be used to process a git command on more that one
subdir at the same time. For ex, core come from digikam repo,
kipi-plugins another one, all libs from extra subdir have a dedicated
repo, etc... This prevent to call a "git pull" in each sub-dir...

Gilles Caulier

2013/12/20 Yuri Samoilenko <[hidden email]>:

> Hello.
>
> To obtain all source tree I use ./download-repos script, as described on
> Digikam homepage.
>
> What ./gits perl scrip doing(I read that it runs git command in each slave
> repo)?
> Why git submodules not used?
> And the main question how to update enture source tree(with all slave
> repos)?
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam update entire source tree

kinnalru@gmail.com
what about
$git submodules init
$git submodule update --init --recursive
?


2013/12/20 Gilles Caulier <[hidden email]>
This script can be used to process a git command on more that one
subdir at the same time. For ex, core come from digikam repo,
kipi-plugins another one, all libs from extra subdir have a dedicated
repo, etc... This prevent to call a "git pull" in each sub-dir...

Gilles Caulier

2013/12/20 Yuri Samoilenko <[hidden email]>:
> Hello.
>
> To obtain all source tree I use ./download-repos script, as described on
> Digikam homepage.
>
> What ./gits perl scrip doing(I read that it runs git command in each slave
> repo)?
> Why git submodules not used?
> And the main question how to update enture source tree(with all slave
> repos)?
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam update entire source tree

Gilles Caulier-4
No idea. I never used it...

Gilles Caulier

2013/12/20 Yuri Samoilenko <[hidden email]>:

> what about
> $git submodules init
> $git submodule update --init --recursive
> ?
>
>
> 2013/12/20 Gilles Caulier <[hidden email]>
>>
>> This script can be used to process a git command on more that one
>> subdir at the same time. For ex, core come from digikam repo,
>> kipi-plugins another one, all libs from extra subdir have a dedicated
>> repo, etc... This prevent to call a "git pull" in each sub-dir...
>>
>> Gilles Caulier
>>
>> 2013/12/20 Yuri Samoilenko <[hidden email]>:
>> > Hello.
>> >
>> > To obtain all source tree I use ./download-repos script, as described on
>> > Digikam homepage.
>> >
>> > What ./gits perl scrip doing(I read that it runs git command in each
>> > slave
>> > repo)?
>> > Why git submodules not used?
>> > And the main question how to update enture source tree(with all slave
>> > repos)?
>> >
>> > _______________________________________________
>> > Digikam-devel mailing list
>> > [hidden email]
>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>> >
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam update entire source tree

Marcel Wiesweg
In reply to this post by kinnalru@gmail.com



> What ./gits perl scrip doing(I read that it runs git command in each slave
> repo)?

As it is impractical to change into all >10 sub-repositories by hand and
execute git commands, there is this script which does it for you.
I mainly use it for pull and status.

> Why git submodules not used?

When we set up the current project layout and infrastructure, we evaluated all
flavors of submodule technology available at the time.
One of the first things that became clear is the git submodules were not
suitable. It seems to be one of the most cumbersome solutions for our purpose.
In particular, the fact that child repos are referenced by specific commit
instead of HEAD and the necessity to commit to the sub-repo first and then
update the reference in the parent repo, and the chance to mess up all other's
source trees if you forget the first step, make this technology unfortunately
a failed design for us (harsh words because I am disappointed about it)

> And the main question how to update enture source tree(with all slave
> repos)?

In the software-collection directory
./gits up

where up is at least an alias for "pull --rebase" or, preferably, for David
Faure's script which stashes all local changes first.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: digikam update entire source tree

kinnalru@gmail.com
Oh, I understand. 
gits suppress my colorschems for when I'm using ./gits st :)

Thank you.
 

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel