bcc96a388f
Restructered clone_customer_repository() and cd_customer_repository().
...
Fixed cd_home() to return explicitly to the customer repository, not
only to -.
2023-05-26 15:01:48 +02:00
9eff70b780
fixed typo
2023-05-24 16:46:52 +02:00
f2617d8151
Use GIT_UPDATE_LOG.
...
pull_customer_repository():
Check the file GIT_UPDATE_LOG for keywords DOWNLOAD or EXECUTE.
2023-05-24 13:04:39 +02:00
bd0d07f56f
Added git_branch() and git_customer_branch()
2022-07-08 17:23:03 +02:00
31e1aad762
Removed the copy operation for the githooks aunder .githooks.
2022-06-25 21:26:20 +02:00
f8c091ad0c
Add get_blob and get_commit_for_blob
2022-06-25 17:18:13 +02:00
87be571e43
Remove GIT_PULL_TMP and OPKG_CMDS_TMP when cloning
2023-03-31 09:05:21 +02:00
8b5cda7f73
After clone: fetch the reposiry again, follwed by a git reset --hard.
...
The effect is that git crates all diretories and files in /etc and /opt.
2023-03-30 13:59:38 +02:00
6f8ba186dd
Set GIT_CLONE_EXECUTED to show that git clone was run
2022-06-12 13:10:16 +02:00
966a779065
create workspace in any case
2022-06-09 21:18:38 +02:00
83aa2dbd5c
clone_customer_repository: re-initailize repository after cloning. Copy
...
.githhoks/post-merge hook into .git/hooks/. post-merge will list the
names of changed files and write them to /tmp/git-pull.
The existence of /tmp/git-pull shows that there have been received changed files.
2022-06-09 18:34:31 +02:00
326c6ea001
We use a different work-tree as usual when creatinng the repository.
...
Cloning the rep. does not save this setting. So we have to re-init the
rep:
git --git-dir=.git --work-tree=/ init
2022-06-06 20:05:05 +02:00
e41bdf540d
improved regex
2022-06-02 17:38:02 +02:00
b9caeb2e3c
changed_file_names: using the git repository path as serach criterion
2022-06-05 19:23:43 +02:00
6741ed8b34
Added update_psa_clone_error() in clone_sutomer_repository()
2022-06-04 21:41:41 +02:00
9ceabd922d
use of WORKING_DIRECTORY and other global readonly variables
2022-06-03 21:46:11 +02:00
77b7b29ed8
known_files now as global readonly
2022-06-03 19:23:27 +02:00
5cc4b6a6b6
extended for ini-files
2022-06-02 22:25:08 +02:00
534d417b86
Fixed printf-calls to print only one string
2022-06-06 17:02:31 +02:00
c44c852b6a
removed GIT_SSL_NO_VERIFY
2022-06-05 21:53:34 +02:00
094580e294
advanced changed_file_names
2022-06-04 21:28:28 +02:00
87d50bd5b2
minor changes: debug output
2022-06-04 18:13:27 +02:00
49ac77340c
Test if log_helpers is included only once
2022-06-04 14:58:39 +02:00
27086af023
exec_git_command using exec_process_substitution()
2022-06-04 14:48:30 +02:00
ada0105f7f
Use eval() to remove any trailing stuff in front or after opkg-command
2022-06-03 22:17:27 +02:00
a507e9c29c
Use working_directory in clone_customer_repository
2022-06-03 21:20:18 +02:00
89ef5c69b6
Fixed exec_git_command(), clone_customer_repository(), pull_customer_repository()
2022-06-03 20:45:09 +02:00
b1d22acdd6
removed sh-suffix
2022-06-02 16:09:43 +02:00