How to make a Changelog like Slackware's
Hi,
I was wondering how i can make an automatic changelog like the one used in slackware's http://slackware.com/changelog/current.php?cpu=i386 Is there a special package i should install and run for that? Or are there certain commands i should use? |
If I'm not mistaken, I do believe Patrick just manually makes the changelog. :-/
|
Doesn't he atleast write the extra bit of the log, then use a script which will sort it, compare with original log (diff), and add it to the top? or somethign?
I meen i've seen changelogs on the net that say something like "Do not modify, automatically generated" So im sure there's some program, or some script out there that can do the job. |
You could use cat like :
cat Changelog.current Changelog.old > Changelog.new |
Don't know how Pat does it but emacs will handle ChangeLogs automatically. Start emacs and type
Code:
M-x add-change-log-entry emacs will create a default ChangeLog file in your home directory and create a header with both the date and who made the entry than place a * before each entry. Save your entry with ctrl-x,ctrl-s and exit emacs with ctrl-x,ctrl-c. Keep your ChangeLog up-to-date and you'll never be stuck trying to remember how you did something! If your new to emacs type Code:
ctrl-h t Dennisk Phoenix Linux Users Group - Penguins in the desert |
Excellent!
First time i use emacs, but so far it looks good! I just have three issues i want to ask about.. Do you just hit <enter> between each entry? because it only starts with one *, and doesn't put any more. Also, does the log save under, or above what you already have in the changelog? Finally, does it appear with the latest added entries (or days) on the top, and the oldest on the bottom (like in slack-current), or the oldest entries (or days) on top, and latest on bottom? Thanks again. |
I create a new entry each time I do something, makes it easier to see what order I did things in, but you can just hit enter if you prefer.
Newest entries are always on top. dennisk |
CVS will do this for you through expanding keywords.
Chances are, if you want/need a changelog, you should use CVS. |
All times are GMT -5. The time now is 05:12 PM. |