Page MenuHomeDevCentral

Craft automatic staging area default commit
ClosedPublic

Authored by dereckson on Oct 27 2018, 20:41.
Tags
None
Referenced Files
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
Unknown Object (File)
Fri, Dec 13, 05:27
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 Passed
Unit
No Test Coverage
Branch
craft-staging-commits (branched from master)
Build Status
Buildable 3049
Build 3297: arc lint + arc unit

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.