ocf / ocflib

Python libraries for account and server management
https://pypi.python.org/pypi/ocflib
Other
15 stars 32 forks source link

Don't leave a +3 file around in `make autoversion` #104

Closed kpengboy closed 6 years ago

kpengboy commented 6 years ago

This unwanted file was getting created because dch invokes the given editor roughly like:

$VISUAL +linenum debian/changelog

Real editors interpret +linenum as a command to jump to the given line number, but touch interprets it as another file to create. We unfortunately have to continue using touch because the timestamp on debian/changelog must be updated in order for dch to proceed.

We work around this problem by introducing a wrapper script which feeds the proper argument to touch.

abizer commented 6 years ago

lol +1

jvperrin commented 6 years ago

Although I suppose it would be good to see that it does actually build since it didn't get to that step.