Quantcast

Layout of the new Git source repository

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

Layout of the new Git source repository

Dr Rainer Woitok
Greetings,

in my recent posting  I mentioned two things, the  layout of the new Git
repository and  my problems  when running  "make doc".   Steve helped me
solving the problems  with "make doc",  but my first remark somehow went
by unnoticed.

To clarify: when I  made a Mercurial clone of  the SVN source repository
at  "http://gpsbabel.googlecode.com/svn/trunk/gpsbabel",  I got  a local
"gpsbabel/" directory containing:

$ ls -p gpsbabel|head
AUTHORS
COPYING
GPSBabel.pro
GPSBabel.xcodeproj/
Makefile
Makefile.in
README.contrib
README.igc
README.mapconverter
README.xmapwpt

Cloning from the new Git repository, the result is very different:

$ git clone https://github.com/gpsbabel/gpsbabel.git gpsbabel
$ ls -p gpsbabel|head
README.md
gpsbabel/

To get the real GPSBabel stuff, I now have to run:

$ ls -p gpsbabel/gpsbabel|head
AUTHORS
COPYING
GPSBabel.pro
GPSBabel.xcodeproj/
Makefile.in
README.contrib
README.igc
README.mapconverter
README.xmapwpt
alan.cc

Thus at least the  documentation  about installing GPSBabel  from source
and where the main  binary is to  be found should be changed, reflecting
this additional "gpsbabel/" sub-directory ("cd gpsbabel ; ./configure &&
make" instead of just "./configure && make").

Maybe this  additional sub-directory  somehow crept in  unnoticed or un-
wanted in the  process of converting from SVN to Git,  but maybe Git (or
whatever tool you used  to do the conversion)  has a way to prevent this
additional directory layer.   And, as I have noticed recently, there are
also SVN repositories at GitHub,  so perhaps you don't even need to con-
vert but only to move.

Sincerely,
  Rainer

 ----------------------------------------------------------------------
| Rainer M Woitok                | Phone : (+49 60 93) 487 95 95       |
| Kolpingstraße 3                | Mobile: (+49 172) 813 6 831         |
| D-63846 Laufach                | Mail  : [hidden email]     |
| Germany                        |                                     |
 ----------------------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Layout of the new Git source repository

Robert Lipe-4
Yes, that was an artifact of moving to Github.

The user "gpsbabel" has a project named "gpsbabel" that imported a project named "gpsbabel" from code.google.com - it's that third one that's unfortunate and probably easiest to revert, though I'll admit I wish I could flatten out one more. 

I'll put it on my list of things to look into unless someone else knows the git command to move it up a directory offhand and wants to send us a patch to apply.

On Sun, Aug 23, 2015 at 10:03 AM, Dr Rainer Woitok <[hidden email]> wrote:
Greetings,

in my recent posting  I mentioned two things, the  layout of the new Git
repository and  my problems  when running  "make doc".   Steve helped me
solving the problems  with "make doc",  but my first remark somehow went
by unnoticed.

To clarify: when I  made a Mercurial clone of  the SVN source repository
at  "http://gpsbabel.googlecode.com/svn/trunk/gpsbabel",  I got  a local
"gpsbabel/" directory containing:

$ ls -p gpsbabel|head
AUTHORS
COPYING
GPSBabel.pro
GPSBabel.xcodeproj/
Makefile
Makefile.in
README.contrib
README.igc
README.mapconverter
README.xmapwpt

Cloning from the new Git repository, the result is very different:

$ git clone https://github.com/gpsbabel/gpsbabel.git gpsbabel
$ ls -p gpsbabel|head
README.md
gpsbabel/

To get the real GPSBabel stuff, I now have to run:

$ ls -p gpsbabel/gpsbabel|head
AUTHORS
COPYING
GPSBabel.pro
GPSBabel.xcodeproj/
Makefile.in
README.contrib
README.igc
README.mapconverter
README.xmapwpt
alan.cc

Thus at least the  documentation  about installing GPSBabel  from source
and where the main  binary is to  be found should be changed, reflecting
this additional "gpsbabel/" sub-directory ("cd gpsbabel ; ./configure &&
make" instead of just "./configure && make").

Maybe this  additional sub-directory  somehow crept in  unnoticed or un-
wanted in the  process of converting from SVN to Git,  but maybe Git (or
whatever tool you used  to do the conversion)  has a way to prevent this
additional directory layer.   And, as I have noticed recently, there are
also SVN repositories at GitHub,  so perhaps you don't even need to con-
vert but only to move.

Sincerely,
  Rainer

 ----------------------------------------------------------------------
| Rainer M Woitok                | Phone : <a href="tel:%28%2B49%2060%2093%29%20487%2095%2095" value="+4960934879595">(+49 60 93) 487 95 95       |
| Kolpingstraße 3                | Mobile: <a href="tel:%28%2B49%20172%29%20813%206%20831" value="+491728136831">(+49 172) 813 6 831         |
| D-63846 Laufach                | Mail  : [hidden email]     |
| Germany                        |                                     |
 ----------------------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------

_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Layout of the new Git source repository

Dr Rainer Woitok
Robert,

On Sunday, 2015-08-23 14:04:12 -0500, you wrote:

> ...
> The user "gpsbabel" has a project named "gpsbabel" that imported a project
> named "gpsbabel" from code.google.com

Well,  I don't think that's the reason,  though I'm  not sure at all be-
cause I'm  using neither SVN nor Git  (I've been on Mercurial since ages
now :-).   But when I convert your original  SVN repository to Mercurial
and remove the "/trunk/gpsbabel" part from the URL  in order to also get
the branches and tags information,  I too will get this additional "gps-
babel/" sub-directory in my  local Mercurial repository,  if I don't ex-
plicitly prevent this while converting from SVN.

> ...
> I'll put it on my list of things to look into unless someone else knows the
> git command to move it up a directory offhand and wants to send us a patch to
> apply.

Not a patch but three alternative UNTESTED suggestions:

1. As I've already mentioned,  there are SVN repositories on GitHub.  So
   perhaps you could simply move your repository there  rather than con-
   verting it.

2. I don't know how you converted from SVN to Git, but googling around a
   bit I found for instance:

      http://john.albin.net/git/convert-subversion-to-git

      https://www.kernel.org/pub/software/scm/git/docs/git-svn.html

   Both locations suggest using  the "--stdlayout" option  (which may or
   may not solve the problem  of this additional "gpsbabel/" sub-direct-
   ory).  However,  the first location  also recommends using the "--no-
   metadata" option while  the second warns  against this  (and probably
   has a point there, so beware).

3. If all this doesn't succeed you could simply apply Git's "mv" command
   to your new repository.  Execute (I hope I get this right, do at your
   own risk :-)

   cd gpsbabel                        # That's the repository containing
   ls -p .git                               # the ".git/" sub-directory!
   git mv gpsbabel/* gpsbabel/.??* .

   on your local Git clone, commit your changes, and again push them up-
   steam.

I hope this helps.

Sincerely,
  Rainer

 ----------------------------------------------------------------------
| Rainer M Woitok                | Phone : (+49 60 93) 487 95 95       |
| Kolpingstraße 3                | Mobile: (+49 172) 813 6 831         |
| D-63846 Laufach                | Mail  : [hidden email]     |
| Germany                        |                                     |
 ----------------------------------------------------------------------

------------------------------------------------------------------------------
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Loading...