[Bug 654374] Review Request: navit - Car navigation system with routing engine

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 26 10:40:28 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=654374

Michel Alexandre Salim <michel+fdr at michelsylvain.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|nobody at fedoraproject.org    |michel+fdr at michelsylvain.in
                   |                            |fo
               Flag|                            |fedora-review?

--- Comment #5 from Michel Alexandre Salim <michel+fdr at michelsylvain.info> 2010-11-26 05:40:26 EST ---
Hi Viji,

We need the instructions to generate the tarball to have reproducible results;
so
the safest way is to use the particular VCS's archiving functionality, *and*
specify the desired revision.

In this case, the following works:

svn co https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit
(cd navit ; svn export -r %%{svn} . ../%{name}-%%{svn})
tar cvjf %%{name}-%%{svn}.tar.bz2 %%{name}-%%{svn}

and adjust the %dirname accordingly; I had to add %{svn} otherwise it conflicts
with either the directory created by the checkout (navit) or the ./navit
subdirectory inside it -- it's quite annoying that SVN does not let one
output directly to stdout, and thus just pipe it directly to tar without having
to
create a temporary directory on the FS!

Right now, the MD5sums don't match between your tarball and the one I generate
(even if I output to a directory called "navit" without the SVN revision).
Creating the archive using svn export, while not guaranteed, would probably be
more reliable as the files would be exported in the same order, and so
hopefully the filesystem will list it in the same order for tar! Not as good as
being able to just stream the output to tar, definitely.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list