Page MenuHomeDevCentral

Craft automatic staging area default commit
ClosedPublic

Authored by dereckson on Oct 27 2018, 20:41.
Tags
None
Referenced Files
F3755484: D1957.id.diff
Mon, Nov 18, 16:10
Unknown Object (File)
Tue, Nov 12, 16:09
Unknown Object (File)
Tue, Nov 12, 07:04
Unknown Object (File)
Mon, Nov 11, 15:42
Unknown Object (File)
Mon, Nov 11, 07:14
Unknown Object (File)
Thu, Nov 7, 18:19
Unknown Object (File)
Sat, Nov 2, 07:35
Unknown Object (File)
Sun, Oct 27, 05:18
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 3048
Build 3296: arc lint + arc unit

Event Timeline

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

Can be a static method

56

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.