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)
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)
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)
+ 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)
+ 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)
+ add cleaning of potential temporary branches from remote server
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a04af55867)
+ 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)
+ 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)
+ 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)
+ 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)
+ add support for gitfile (submodules with git >= 1.7.8)
+ add gituser detection from git configuration
+ add support for branches
+ various optimizations