diff options
author | Sascha Peilicke <saschpe@gmx.de> | 2014-01-30 16:35:53 +0100 |
---|---|---|
committer | Sascha Peilicke <saschpe@gmx.de> | 2014-01-30 16:36:04 +0100 |
commit | d61f21fe0e582736b84c0107439a8bcea3b00244 (patch) | |
tree | 3a827c1cd10f7f37164c8a9fe5f764b2ea807af1 /vc | |
parent | 51854d0640d772440bdcbdef89fa88b0ac46e610 (diff) |
Revert "track added/removed/modified patch automatically"
This reverts commit b6ccac1ebd9cac5998118a7bb119508ade6b47fe.
This kind of functionality does not belong into vc. Source services
have far more knowledge about changes applied to packages and thus are
far more suitable to generate proper changelog entries. For example:
- tar_scm can generate changes entries from git logs
- refresh_patches can generate changes entries for added, removed
and rebased patches (it does that semi-automatically)
For both services, changelog generation is _opt-int_. That means it has
to be enabled explicitly via the 'changesgenerate' parameter.
Lastly, the format was broken anyway...
Diffstat (limited to 'vc')
-rwxr-xr-x | vc | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -133,24 +133,6 @@ set +e elif [ ! $just_edit ]; then echo "- " echo - if [ -d .osc -a -n "$(which osc 2>/dev/null)" ]; then - OSC_STATUS="$(cd "$pkgpath" &> /dev/null; osc st)" - ADDED="$(sed -n 's/^A[[:blank:]]\+\([^[:blank:]].*\.\(patch\|diff\)\)$/ * \1/p' <<< "$OSC_STATUS")" - DELETED="$(sed -n 's/^D[[:blank:]]\+\([^[:blank:]].*\.\(patch\|diff\)\)$/ * \1/p' <<< "$OSC_STATUS")" - MODIFIED="$(sed -n 's/^M[[:blank:]]\+\([^[:blank:]].*\.\(patch\|diff\)\)$/ * \1/p' <<< "$OSC_STATUS")" - if [ -n "$ADDED" ]; then - echo "- added patches:" - echo "$ADDED" - fi - if [ -n "$DELETED" ]; then - echo "- removed patches:" - echo "$DELETED" - fi - if [ -n "$MODIFIED" ]; then - echo "- modified patches:" - echo "$MODIFIED" - fi - fi fi cat $changelog } >> "$tmpfile" |