mirror of
https://github.com/KDE/kde-linux.git
synced 2026-06-16 11:29:18 -04:00
try to restore git permissions
It would appear that invent mangles files permissions so that we end up with world writable files. Instead try to hold on to git. This may ultimately cause trouble with docker but we'll have to try to know. Relates to #27
This commit is contained in:
@@ -9,6 +9,9 @@ start:
|
||||
allow_failure: false
|
||||
image: archlinux:latest
|
||||
script:
|
||||
# invent.kde.org seems to mangle permissions, restore them so we have accurate permissions for configs and whatnot
|
||||
# https://stackoverflow.com/questions/2517339/how-to-restore-the-permissions-of-files-and-directories-within-git-if-they-have
|
||||
- git diff -p -R --no-ext-diff --no-color --diff-filter=M | grep -E "^(diff|(old|new) mode)" --color=never | git apply
|
||||
- ls -lahR
|
||||
- pacman --sync --refresh --noconfirm curl which
|
||||
- curl -s https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer | bash
|
||||
|
||||
Reference in New Issue
Block a user