Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
ba18a2d3
Commit
ba18a2d3
authored
Jun 23, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/util/update-sha256sum: exit if there are untracked or ignored files
parent
59cd859a
Pipeline
#28783
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
playbook/sha256sum
playbook/sha256sum
+1
-1
playbook/util/update-sha256sum
playbook/util/update-sha256sum
+1
-0
No files found.
playbook/sha256sum
View file @
ba18a2d3
2771dda4925f3e2343425df08a40868f9af23f200606bc70663051f0470d2e9c
-
fcbb3241e80b1fc720c3ead9e551056c40573fac6d94e4f57cc5ea141dff2e91
-
playbook/util/update-sha256sum
View file @
ba18a2d3
playbook_dir="$(dirname $(realpath $0))/.."
playbook_dir="$(dirname $(realpath $0))/.."
cd $playbook_dir
cd $playbook_dir
git ls-files . --ignored --exclude-standard --others | grep . && (echo "Please remove all untracked and ignored files before computing sha256sum"; exit 1)
find . -type f ! -name 'sha256sum' -print0 | LC_ALL=C sort -z | xargs -0 sha256sum | sha256sum > sha256sum
find . -type f ! -name 'sha256sum' -print0 | LC_ALL=C sort -z | xargs -0 sha256sum | sha256sum > sha256sum
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment