summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* create_tarball: Add package version into '.tdescminfo'.v3.5.13-sruSlávek Banko2022-06-191-5/+7
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a810c4d292629e8668538231691e4b6c4274fec8)
* create_tarball: Fix excluded items processing.Slávek Banko2021-12-291-3/+4
| | | | | | | | | 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> (cherry picked from commit eecedb7d6141478bebff53ad3e5f0f822e34595e)
* create_all_tarballs: Listing individual common modules to be skippedSlávek Banko2021-07-081-1/+4
| | | | | | | to not be omitted to create tarball for common cmake module. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ee19be5f9ee8a1b2fb0287b120a0edc99c0c454f)
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2021-04-301-5/+14
| | | | | | | | | + Ensure checkout for new upstream branch in worktree mode of tree. + To test the availability of repository use curl if it is present. + Sign commits using GPG during rebase if the signing key is set. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9545e31f1887508c47299477d95f08993026c02d)
* create_tarball: Force file permissions in the tarball.Slávek Banko2020-12-061-0/+1
| | | | | | | It addresses independence from UMASK to ensure a reproducible build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 807378eeb2a1363a10e4c9715758004df5c51500)
* create_tarball: Convert to UTC the date of the last commit,Slávek Banko2020-12-061-1/+1
| | | | | | | | | | | | | 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> (cherry picked from commit 517a78302072e0b2a55a65a4811bc90fbba42e08)
* create_tarball: Adapted to new 'core' folder for core modules.Slávek Banko2020-11-162-6/+12
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9db84075a083d851ec02917f926d44bc17e1f08e)
* switch_all_submodules_to_head_and_clean: Clean up abandoned worktreesSlávek Banko2020-11-111-0/+1
| | | | | | | before adding a new worktree. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5b81e0aa93702515e5ced5a1ebde5bcb1065190e)
* create_tarball: Modify the tarball creation so that it is reproducible.Slávek Banko2020-03-231-6/+13
| | | | | | | 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> (cherry picked from commit 428c2d88b4ac80df001d25973a1511d6a3d424c6)
* create_tarball: Create one .tdescminfo file containing all the data,Slávek Banko2020-03-231-4/+6
| | | | | | | including the git repository date, instead of individual .tdescm* files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5c39eb0954bf46dcb0df0bb0a9c4e20a48978f83)
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2018-09-041-7/+56
| | | | | | | | | | | + better detection of whether a branch is remote tracked + instead of git pull --rebase is used git fetch and git rebase + added verification whether the remote server is available + do a git checkout only if the required branch is not active + added support for creating a 'tde' submodules tree using git worktree Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 065e9e09364220849b982527aaba9494478fbb19)
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2018-08-161-2/+1
| | | | | | | | | + cleaning of temporary branches combined into one operation along with pull + this prevents additional communication with the remote server + all remote servers will be fetched and also pruned Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9bb83bf90c6f1b1b1034af1af47a26fa1970ec5b)
* Update switch_all_submodules_to_head_and_clean:Slávek Banko2018-08-091-4/+4
| | | | | | | + add support for cloning repositories via ssh Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f50efa7e809717d7c1c700eff7223da847f688e3)
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2018-08-061-0/+1
| | | | | | | + add cleaning of potential temporary branches from remote server Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a04af5586759094483cd1aeece37530a76a2f1d4)
* Revamp switch_all_submodules_to_head_and_cleanSlávek Banko2018-07-071-42/+80
| | | | | | | | | | | + script revised according to update_all_submodules + files .gitmodules are processed instead of call git submodule foreach + modules are initialized during processing instead of at the beginning + initialize submodules only if they have not yet been initialized + use --no-recurse-submodules at git pull for better overview of the update progress Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8fb500ce46d9f7b19a9d81119c315c0433cf6310)
* Update update_all_submodulesSlávek Banko2018-07-071-22/+35
| | | | | | | | | + create lock specific by branch + initialize submodules only if they have not yet been initialized + use --no-recurse-submodules at git pull for better overview of the update progress Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b0d74087e54845129610e901f5c4a2e662e8c9bd)
* Update create_tarball and create_all_tarballsSlávek Banko2018-07-072-27/+136
| | | | | | | | + 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> (cherry picked from commit a4ee97323870ce23c10714233408f36f372b296e)
* Revamp update_all_submodulesSlávek Banko2016-03-161-45/+79
| | | | | | | | | | | + submodules file is no longer needed + list of submodules is loaded from .gitmodules + order of the submodules is determined by .gitmodules + nested submodules are processed recursively by .gitmodules + all submodules, including nested, are updated in one cycle Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9f54f5880931758748347f73ddd146ae13b7b6b6)
* Allow to create tarballs on detached branchSlávek Banko2016-03-052-2/+2
| | | | | | | For example, for a particular git tag Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2c769321341c07e85339cf60778cdb7d102f20b1)
* Update version number for new target 3.5.13.3Slávek Banko2015-12-232-2/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* switch_all_submodules_to_head_and_clean: Add support to clone from mirrorSlávek Banko2015-12-161-0/+8
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 980d8ea3f8929655d0f135cde0f788b30ed558dc)
* switch_all_submodules_to_head_and_clean: Use --rebase on git pullSlávek Banko2015-12-161-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 916d3c93559cdadf1ac7728ce0edd1dbebdf049b)
* create_tarball: Split initial character in tag while sorting by versionSlávek Banko2015-12-161-1/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0a16bdf260fda53e649c7c13c2fb324614acb773)
* create_tarball: Sort tags as version numbers instead of as textSlávek Banko2015-12-161-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 45dd8325b7db7af5821a69ed98e072a9f96d8337)
* create_tarball: Add automatic creation of SCM metadataSlávek Banko2015-12-161-1/+21
| | | | (cherry picked from commit c5010d9665e5d4525177093ca813846e93eba6f4)
* create_tarball: Add support for multithreaded compressorsSlávek Banko2015-12-161-3/+3
| | | | (cherry picked from commit a48d32b281a28dd71ab81b85888965984ba79cb9)
* Added ignore-submodules flag, depending on the GIT versionv3.5.13.2Slávek Banko2013-05-052-4/+14
| | | | (cherry picked from commit 7e23a1ee30a44babc95d17e3ecbb233e14f650c2)
* create_tarball: Fix wrong path transformation in symlinksSlávek Banko2013-04-221-1/+1
| | | | (cherry picked from commit f7f29b7ce2aa3f1b5b93800bfabddb51104d57d1)
* create_tarball: Add other renaming of rebranded packagesSlávek Banko2013-03-051-2/+7
| | | | Add option to use rebranded names
* create_tarball: Add option to select compression methodSlávek Banko2013-02-131-3/+10
| | | | (cherry picked from commit 6a19cd9bb6d3463f31299644cc687c0bc6d7c672)
* Added scripts for creating tarballsSlávek Banko2013-01-042-0/+158
| | | | (cherry picked from commit b430a3e49e7337ee8ad27dab865893c0cc5f406c)
* Remove ignore-submodules flag from git commands in order to support older ↵Timothy Pearson2012-12-082-4/+4
| | | | | | GIT versions (cherry picked from commit 3f91377dc9f4caf3269679045215de90c8491b77)
* Scripts: Fix branch detection with git older than 1.7.10Slávek Banko2012-10-073-3/+3
|
* Added submodules for v3.5.13-sru branchSlávek Banko2012-09-084-0/+180
Added flat listing of submodules Updated GIT readme file Added scripts