Page MenuHomeDevCentral

Craft automatic staging area default commit
ClosedPublic

Authored by dereckson on Oct 27 2018, 20:41.
Tags
None
Referenced Files
F2841643: D1957.id4948.diff
Mon, Apr 22, 23:45
F2841412: D1957.id4945.diff
Mon, Apr 22, 23:10
Unknown Object (File)
Sun, Apr 21, 21:38
Unknown Object (File)
Sun, Apr 21, 21:35
Unknown Object (File)
Sat, Apr 20, 06:57
Unknown Object (File)
Fri, Apr 19, 09:18
Unknown Object (File)
Fri, Apr 19, 06:17
Unknown Object (File)
Fri, Apr 19, 06:00
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.