Commit Graph

61 Commits (e0f9ba321177863b1d3d1fff47630722ac08569e)
 

Author SHA1 Message Date
Slávek Banko e0f9ba3211
create_tarball: Add package version into '.tdescminfo'.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a810c4d292)
3 years ago
Slávek Banko 63362e5037
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>
(cherry picked from commit eecedb7d61)
3 years ago
Slávek Banko d45dd62365
create_all_tarballs: Listing individual common modules to be skipped
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 ee19be5f9e)
4 years ago
Slávek Banko 26adf9d607
Update switch_all_submodules_to_head_and_clean
+ 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 9545e31f18)
4 years ago
Slávek Banko 23145430b1
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>
(cherry picked from commit 807378eeb2)
4 years ago
Slávek Banko 3bff5cbf91
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>
(cherry picked from commit 517a783020)
4 years ago
Slávek Banko f2c0ac2aa5
create_tarball: Adapted to new 'core' folder for core modules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9db84075a0)
4 years ago
Slávek Banko f7a155f1a9
switch_all_submodules_to_head_and_clean: Clean up abandoned worktrees
before adding a new worktree.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5b81e0aa93)
4 years ago
Michele Calgaro 9df5b598ec
Removed style scripts, they are still available on master branch.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 444f4bbf72
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>
(cherry picked from commit 428c2d88b4)
5 years ago
Slávek Banko 6d5bbbe14b
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>
(cherry picked from commit 5c39eb0954)
5 years ago
Slávek Banko 9d96d333d3
Update switch_all_submodules_to_head_and_clean
+ 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 065e9e0936)
7 years ago
Slávek Banko 3ee3a5a70b
Update switch_all_submodules_to_head_and_clean
+ 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 9bb83bf90c)
7 years ago
Slávek Banko 9be6e5e6f0 Update switch_all_submodules_to_head_and_clean:
+ add support for cloning repositories via ssh

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f50efa7e80)
7 years ago
Slávek Banko c58fea6319 Update switch_all_submodules_to_head_and_clean
+ add cleaning of potential temporary branches from remote server

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a04af55867)
7 years ago
Slávek Banko d356f38213 Revamp switch_all_submodules_to_head_and_clean
+ 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 8fb500ce46)
7 years ago
Slávek Banko d46100143d Update update_all_submodules
+ 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 b0d74087e5)
7 years ago
Slávek Banko c0339738cf 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>
(cherry picked from commit a4ee973238)
7 years ago
Slávek Banko 9982b4a55e Update version number for new target R14.0.5 8 years ago
Slávek Banko 558e70b263 Revamp update_all_submodules
+ 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 9f54f58809)
9 years ago
Slávek Banko 0e9786f3a5 Allow to create tarballs on detached branch
For example, for a particular git tag

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2c76932134)
9 years ago
Slávek Banko 2b30dcc138 Update version number for new target R14.0.4 9 years ago
Slávek Banko 8eb2ea0f54 switch_all_submodules_to_head_and_clean: Add support to clone from mirror
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 980d8ea3f8)
9 years ago
Slávek Banko 6d53459401 switch_all_submodules_to_head_and_clean: Use --rebase on git pull
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 916d3c9355)
9 years ago
Slávek Banko 5097cbe74c Update version number for new target R14.0.3 9 years ago
Slávek Banko 4b764e3a1f Update version number for new target R14.0.2 10 years ago
Slávek Banko 41bd09eab9 Update default target release to R14.0.1
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko 580cb8e6f8 create_tarball: Split initial character in tag while sorting by version
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0a16bdf260)
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 7e23a1ee30 Added ignore-submodules flag, depending on the GIT version 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
Timothy Pearson e36ec8151f Fix script 12 years ago
Timothy Pearson 8c91b5f088 Add astyle options 12 years ago
Timothy Pearson 2f8d755a1d Update README.GIT file with new GIT tutorial location 12 years ago
Timothy Pearson 9220d2488d Added TQt4 HEAD 12 years ago
Timothy Pearson 2ad7c092f7 Updated GIT readme file 12 years ago
Timothy Pearson e11c8eac5d Created initial directory structure 12 years ago
Timothy Pearson c2cf6015ae Remove ignore-submodules flag from git commands in order to support older GIT versions 12 years ago
Slávek Banko 95dd4739aa Updating git scripts
+ add support for gitfile (submodules with git >= 1.7.8)
+ add gituser detection from git configuration
+ add support for branches
+ various optimizations
12 years ago
Timothy Pearson 5ead2a2d3b Update commit_all_submodules script 13 years ago
Timothy Pearson 9bf803fd34 Fix commit_all_submodules script 13 years ago
Timothy Pearson a2610d4e32 Update the GIT helper scripts 13 years ago
Timothy Pearson 93bbe2060e Fix commit_all_submodules script 13 years ago
Timothy Pearson 703e8cc992 Add preliminary commit all script 13 years ago