Page MenuHomeDevCentral

Craft automatic staging area default commit
ClosedPublic

Authored by dereckson on Oct 27 2018, 20:41.
Tags
None
Referenced Files
F2961934: D1957.id4945.diff
Sat, May 18, 14:11
F2961867: D1957.id4948.diff
Sat, May 18, 14:05
Unknown Object (File)
Fri, May 17, 11:57
Unknown Object (File)
Fri, May 17, 11:56
Unknown Object (File)
Fri, May 17, 11:56
Unknown Object (File)
Mon, May 13, 19:19
Unknown Object (File)
Mon, May 13, 19:18
Unknown Object (File)
Mon, May 13, 10:37
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.