[Digikam-devel] All kipi-plugins are gone ...

Ananta Palani anantapalani at gmail.com
Sat Mar 17 23:47:21 GMT 2012


Matthias,

I check my own code, which is what I pushed into master. How am I supposed
to know that code pushed ahead of my commit is faulty? Seems like it is the
responsibility of the other developers, in this case Supreet. Also, I see
that other developers also merge with master in a similar fashion (4
separate developers this month!). How else is this supposed to be done?

Here's how this situation arose. I commit to master. I try to push my
changes, oops, there are changes ahead of mine. So I pull, merge, push.
Even if I were to pull before I commit, there is a chance someone else will
push in between my last pull, and my commit and push attempt.

On Sat, Mar 17, 2012 at 9:16 PM, Matthias Welwarsky
<matthias at welwarsky.de>wrote:

> OK, pretty simple:
>
> It's the patches merged by Ananta Palani, in particular this one:
>
> commit 8453c8f2def5e917d731aa636eced77e79d4a4a2
> Author: Supreet Pal Singh <supreetpal at gmail.com>
> Date:   Sat Mar 17 01:32:07 2012 +0530
>
>    Removed the code from setup
>
>
> It removes the loadPlugins() call from the Constructor of KipiPluginLoader
> class
>
> Ananta, can you _please_ check what you are pushing into master? And
> please,
> do not do merge commits. It's very annoying and difficult to eliminate
> single
> patches out of a merge, or even to remove the merge patch entirely.
>
> See man git-merge:
>
>       -m parent-number, --mainline parent-number
>           Usually you cannot revert a merge because you do not know which
> side of the merge should be considered the
>           mainline. This option specifies the parent number (starting from
> 1)
> of the mainline and allows revert to reverse
>           the change relative to the specified parent.
>
>           Reverting a merge commit declares that you will never want the
> tree
> changes brought in by the merge. As a result,
>           later merges will only bring in tree changes introduced by
> commits
> that are not ancestors of the previously
>           reverted merge. This may or may not be what you want.
>
>           See the revert-a-faulty-merge How-To[1] for more details.
>
> This is the How-To mentioned, and if your head is spinning after reading
> it,
> you know why merge commits should not happen if you just want to push
> changes
> into the master branch:
>
>
> http://code.google.com/p/git-core/source/browse/Documentation/howto/revert-a-
> faulty-merge.txt
>
> In my opinion, there is almost never a need for merge commits. Even after
> you
> merged from some other branch, you should still rebase onto the head of the
> remote master branch before you commit.
>
> On Saturday 17 March 2012 21:31:38 Matthias Welwarsky wrote:
> > Same here, current git master, completely uninstalled, deleted the build
> > directory and re-made everything. no kipi-plugins whatsoever.
> >
> > I'm guessing: Some symbol vanished and dlopen fails when the plugin is
> > loaded?
> >
> > regards,
> > matthias
> >
> > On Saturday 17 March 2012 19:18:03 Veaceslav Munteanu wrote:
> > > Hello.
> > >
> > > I was working with my students on bugs when after a git pull and new
> > > build, all kipi-plugins are missing.
> > > We have the same problem on all 3 computers and it's a result of a
> > > recent
> > > commit, because i pulled this morning and everything was ok and after a
> > > hour it was broken.
> > >
> > > Can you help me?
> >
> > _______________________________________________
> > Digikam-devel mailing list
> > Digikam-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-devel
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20120317/42f7b3c8/attachment.html>


More information about the Digikam-devel mailing list