local git master ignores many folders

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

local git master ignores many folders

Alan Pater
I am trying to work with the digikam git repository, following the
instructions here: http://www.digikam.org/download/GIT

After running the download script I have all the files on my local machine.
But git does not see any of the changes I make

I found this is because of the default .gitignore file, which contains:

    core/
    doc/digikam/
    doc/kipi-plugins/
    extra/kipi-plugins/
    extra/libkdcraw/
    extra/libkexiv2/
    extra/libkface/
    extra/libkgeomap/
    extra/libkipi/
    extra/libksane/
    extra/libmediawiki/

(And does not contain extra/libkvkontakte/, which shows as uncommited)

I would like to start clean, with nothing ignored.

I'm a complete novice to git. Could someone be kind enough to provide
some step-by-step instructions on un-ignoring everything?

If I just remove any or all of those lines from .gitignore I land up
with a bunch of uncommited folders, which is not what is needed.

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

Re: local git master ignores many folders

Andrew Goodbody
On 20/04/14 17:22, Alan Pater wrote:
> I am trying to work with the digikam git repository, following the
> instructions here: http://www.digikam.org/download/GIT
>
> After running the download script I have all the files on my local machine.
> But git does not see any of the changes I make

As digiKam is a KDE app, it needs other parts of KDE in order to
compile. The way that this is arranged, without cloning the whole of
KDE, is that there is the software-compilation repository that contains
the scripts to clone and build digiKam as well as the other parts of KDE
needed to compile digiKam. So the git repository at the root of the
build tree is just those scripts etc. So all those directories in the
.gitignore file are cloned by the scripts and as such are not part of
the software-compilation repository. There is a script there 'gits' that
will allow you to work with all the smaller repositories that have been
cloned. Or else you can just change into the directory in question to
work with the particular repository where your changes are.

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

Re: local git master ignores many folders

Alan Pater
In reply to this post by Alan Pater
Oops, I see what I was doing wrong. I don't want the
digikam-software-compilation as I'm not trying to compile anything, I
was just trying to get and modify the source. I just want the straight
digikam repository.

This is it: git clone git://anongit.kde.org/digikam

On Sun, Apr 20, 2014 at 11:22 AM, Alan Pater <[hidden email]> wrote:
> I am trying to work with the digikam git repository, following the
> instructions here: http://www.digikam.org/download/GIT
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users