Commit Graph

64 Commits (a810c4d292629e8668538231691e4b6c4274fec8)
 

Author SHA1 Message Date
Slávek Banko a810c4d292
create_tarball: Add package version into '.tdescminfo'.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Mavridis Philippe 1b670e287c
Add script to replace <includehints> with includes
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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 ee19be5f9e
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>
4 years ago
Slávek Banko 21a047dd56
tde-l10n_split_desktop: Process the created template using msguniq
to finalize the line breaks in the location comments.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 9545e31f18
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>
4 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 5b81e0aa93
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>
4 years ago
Slávek Banko 1215cfd777
tde-l10n_split_desktop: Take care of section names containing slashes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 2a89b776f8
tde-l10n_split_desktop: Add --from-code=UTF-8 to xgettext call.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 6be262f2f4
tde-l10n_split_desktop: Automatically add a <default> section
during processing to allow extract translations from desktop
files without sections.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko bc35bf2852
tde-l10n_split_desktop: Adjusted to ensure portability
+ the use of an array is omitted
+ printf is used instead of echo
+ $(...) is used for subshell

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 7b46022903
Add a script to prepare desktop files for translation.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro a7c35253fa
Moved conversion scripts from experimental repository.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 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 065e9e0936
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>
7 years ago
Slávek Banko 9bb83bf90c
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>
7 years ago
Slávek Banko f50efa7e80 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>
7 years ago
Slávek Banko a04af55867 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>
7 years ago
Slávek Banko 8fb500ce46 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>
7 years ago
Slávek Banko b0d74087e5 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>
7 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 9f54f58809 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>
9 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 980d8ea3f8 switch_all_submodules_to_head_and_clean: Add support to clone from mirror
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 916d3c9355 switch_all_submodules_to_head_and_clean: Use --rebase on git pull
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 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