Commit Graph

21 Commits (master)

Author SHA1 Message Date
Slávek Banko 1ccd5c4fa1
create_tarball: Add support for creating tarballs from head on a git tag.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko 4eebab4010
Allow to determine the target version from the default version in the tde-cmake module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko a810c4d292
create_tarball: Add package version into '.tdescminfo'.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko eecedb7d61
create_tarball: Fix excluded items processing.
The list of items to the tarball package is now passed as output from
find and therefore does not work using --exclude option for tar. Items
that is desirable to exclude are now removed from the list using grep.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 807378eeb2
create_tarball: Force file permissions in the tarball.
It addresses independence from UMASK to ensure a reproducible build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 517a783020
create_tarball: Convert to UTC the date of the last commit,
which is written to '.tdescminfo'.

Because formatting a date using 'git log' does not return results in UTC,
the unix timestamp is used for git log, and conversion to UTC is done
using 'date'.

It addresses time zone independence to ensure a reproducible build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 9db84075a0
create_tarball: Adapted to new 'core' folder for core modules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 428c2d88b4
create_tarball: Modify the tarball creation so that it is reproducible.
Note: If gzip or pigz is used, it is necessary to use the "-n" option.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 5c39eb0954
create_tarball: Create one .tdescminfo file containing all the data,
including the git repository date, instead of individual .tdescm* files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko a4ee973238 Update create_tarball and create_all_tarballs
+ default TARGET is now detected from the TDE core header
+ added check if TARGET is valid for the branch

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko 2c76932134 Allow to create tarballs on detached branch
For example, for a particular git tag

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 1029f47a0b Update default target release to R14.1.0
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko 0a16bdf260 create_tarball: Split initial character in tag while sorting by version
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko 45dd8325b7 create_tarball: Sort tags as version numbers instead of as text
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko c5010d9665 create_tarball: Add automatic creation of SCM metadata 11 years ago
Slávek Banko a48d32b281 create_tarball: Add support for multithreaded compressors 12 years ago
Slávek Banko f7f29b7ce2 create_tarball: Fix wrong path transformation in symlinks 12 years ago
Slávek Banko f18522cfd5 create_tarball: Remove unneeded renaming of rebranded packages 12 years ago
Slávek Banko 6a19cd9bb6 create_tarball: Add option to select compression method 12 years ago
Slávek Banko d5d288f9e8 create_tarball: Add renaming of rebranded packages 12 years ago
Slávek Banko b430a3e49e Added scripts for creating tarballs 12 years ago