Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add newline to .batou.json #436

Closed
chrschm opened this issue Jan 16, 2024 · 0 comments · Fixed by #460
Closed

add newline to .batou.json #436

chrschm opened this issue Jan 16, 2024 · 0 comments · Fixed by #460
Milestone

Comments

@chrschm
Copy link
Member

chrschm commented Jan 16, 2024

batou migrate updates .batou.json without proper newline

cs at CSMBP20 in ~/deployments/project-deployment (Updates-and-gitlab-pipeline●)
$ ./batou migrate
Removing expired path: /Users/cs/deployments/project-deployment/./.appenv/36367d38 ...
Creating venv ...
Add specific versions.ini for staging
/Users/cs/deployments/project-deployment/./batou:76: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.util  # noqa: F401 imported but unused
Ensuring pip ...
Installing ...
Current version: 2303
Version: 2400

✅ Secrets may be encrypted with age or gpg now

The two secret providers `age` and `gpg` signify their encryption method in the
file name. The new naming scheme is:
secrets.cfg -> secrets.cfg.gpg
secret-foo -> secret-foo.gpg

Since previously all secrets were encrypted with gpg, we rename all files to
match the new naming scheme. This is done automatically for you, but you will
need to commit those changes manually.

Reached version: 2400
cs at CSMBP20 in ~/deployments/project-deployment (Updates-and-gitlab-pipeline●)
$ git commit
Trim Trailing Whitespace.................................................Passed
Fix End of Files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook

Fixing .batou.json

Check Yaml...........................................(no files to check)Skipped
Check for added large files..............................................Passed
Check JSON...............................................................Passed
Check Xml............................................(no files to check)Skipped
Check Toml...........................................(no files to check)Skipped
Detect Private Key.......................................................Passed
isort (python).......................................(no files to check)Skipped
black................................................(no files to check)Skipped
diff --git a/.batou.json b/.batou.json
index 33c7b39..7dd9c73 100644
--- a/.batou.json
+++ b/.batou.json
@@ -1 +1 @@
-{"migration": {"version": 2400}}
\ No newline at end of file
+{"migration": {"version": 2400}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants