Page MenuHomeDevCentral

Craft automatic staging area default commit
ClosedPublic

Authored by dereckson on Oct 27 2018, 20:41.
Tags
None
Referenced Files
F3952037: D1957.diff
Sat, Dec 28, 22:11
Unknown Object (File)
Sat, Dec 21, 10:07
Unknown Object (File)
Mon, Dec 16, 04:02
Unknown Object (File)
Mon, Dec 16, 04:02
Unknown Object (File)
Mon, Dec 16, 04:02
Unknown Object (File)
Mon, Dec 16, 03:39
Unknown Object (File)
Sat, Dec 14, 21:29
Unknown Object (File)
Sat, Dec 14, 21:15
Subscribers
None

Details

Summary

Provide a staging-commit-message command to get a default content
for submodule update commits.

Fixes T1470.

Test Plan
$ git commit -a -m "$(staging-commit-message)"

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson added inline comments.
roles/saltmaster/software/files/staging-commit-message.py
56

Can be a static method

57

shadows the hash function

roles/saltmaster/software/init.sls
24

Okay, in the repo the file is chmoded 755. But Salt copies by default in 644.

Executable chmod. Improve Python code quality.

This revision is now accepted and ready to land.Oct 27 2018, 21:07
This revision was automatically updated to reflect the committed changes.