[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #15699] Unified format for software tarballs
From: |
Mohammad Akhlaghi |
Subject: |
[task #15699] Unified format for software tarballs |
Date: |
Tue, 5 Oct 2021 05:44:13 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0 |
Update of task #15699 (project reproduce):
Percent Complete: 0% => 50%
Assigned to: None => makhlaghi
_______________________________________________________
Follow-up Comment #6:
Thanks again Antonio, I just edited those tarballs with the '-9' option to
Lzip in Commit da4d019c9
<https://git.maneage.org/tarballs-software.git/commit/?id=da4d019c9> (of the
software tarball project). As we see there, the sizes did in fact shrink :-).
Just for future reference, we should now use this command to convert the
tarballs to our unified format (I will try to add this in the comments of the
code somewhere):
odir=ORIGINAL_DIR
suffix=ORIGINAL_SUFFIX
name=PACKAGE_NAME_VERSION
tar xf $odir/$name.tar.$suffix \
&& tar -c -Hustar --owner=root --group=root \
-f $name.tar $name/ \
&& lzip -9 $name.tar \
&& rm -r $name/
This command currently assumes that the top-level directory within the
original tarball also has the same NAME-VERSION convention. If a tarball
doesn't have this convention, please add an extra 'mv' command before the 'tar
-c' command so it does follow that convention.
We can later generalize this into a small script to automatically parse a
directory for tarballs and make all these corrections automatically ;-).
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/task/?15699>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [task #15699] Unified format for software source code archival, Mohammad Akhlaghi, 2021/10/03
- [task #15699] Unified format for software tarballs, Mohammad Akhlaghi, 2021/10/04
- [task #15699] Unified format for software tarballs, Antonio Diaz Diaz, 2021/10/04
- [task #15699] Unified format for software tarballs, Mohammad Akhlaghi, 2021/10/04
- [task #15699] Unified format for software tarballs, Antonio Diaz Diaz, 2021/10/04
- [task #15699] Unified format for software tarballs,
Mohammad Akhlaghi <=
- [task #15699] Unified format for software tarballs, Antonio Diaz Diaz, 2021/10/05
- [task #15699] Unified format for software tarballs, Mohammad Akhlaghi, 2021/10/06
- [task #15699] Unified format for software tarballs, Mohammad Akhlaghi, 2021/10/31