Page MenuHomeDevCentral

Craft automatic staging area default commit
ClosedPublic

Authored by dereckson on Oct 27 2018, 20:41.
Tags
None
Referenced Files
F7469679: D1957.diff
Sun, Apr 27, 06:42
F7457345: D1957.diff
Sun, Apr 27, 02:11
Unknown Object (File)
Sat, Apr 26, 19:13
Unknown Object (File)
Wed, Apr 23, 03:44
Unknown Object (File)
Tue, Apr 22, 06:24
Unknown Object (File)
Tue, Apr 22, 00:49
Unknown Object (File)
Mon, Apr 21, 23:54
Unknown Object (File)
Sat, Apr 19, 08:10
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.