Ticket #400 (new defect)

Opened 18 months ago

Last modified 15 months ago

"moap changelog prepare" expects .git/ and ChangeLog to be in the same directory

Reported by: siavash@… Owned by: marcandre.lureau@…
Priority: minor Milestone: 0.2.7
Component: moap Version: TRUNK
Keywords: Cc:

Description

I'm using git-svn, the repo contains: branches/ .git/ tags/ trunk/

running "moap changlog prepare" fails in trunk:

siavash@laptop ~/d/g/g/c/trunk> moap changelog prepare
Updating ChangeLog from git-svn repository.
Could not update ChangeLog:
sh: .git/info/exclude: No such file or directory

using -C option in repos top directory fails too:

siavash@laptop ~/d/g/g/clutter-gtkmm> moap changelog -C trunk/ChangeLog prepare
Updating trunk/ChangeLog from git-svn repository.
Could not update trunk/ChangeLog:
sh: .git/info/exclude: No such file or directory

Attachments

Change History

Changed 17 months ago by thomas

  • owner changed from thomas to marcandre.lureau@…

It looks like this is coming from the part doing:

status, output = commands.getstatusoutput("git svn show-ignore >> .git/info/exclude")

I have no idea about the git-svn backend, so assigning to Marc-André to see if he knows why this is done.

Changed 17 months ago by elmarco

I don't think there is much we can do about that.

In theory, you should not have that:

.git
branches
tags
trunk

But rather let git-svn manage your branch and tags ala git (except that tags are not really tags in SVN)..

For example, you should do git svn clone -s url (assuming your SVN layout is Standard, you can configure that anyway).

Eventually though, we could easily figure out what is the directory of .git (like any other git tool) and run the commands from there. Meanwhile, you should be able to work around it yourself when running moap with GIT_DIR=dir_of_.git

The git/gitsvn backend needs rework. I would lower the priority of this bug.

Changed 17 months ago by thomas

  • priority changed from major to minor

Add/Change #400 ("moap changelog prepare" expects .git/ and ChangeLog to be in the same directory)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from marcandre.lureau@gmail.com. Next status will be 'new'
The owner will change from marcandre.lureau@gmail.com to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.