[Gambas-devel] Sample release for automatic changelog generator

Benoit Minisini gambas at ...1...
Sat Aug 7 12:38:40 CEST 2004


On Saturday 07 August 2004 09:21, Yizhou He wrote:
> Hi:

Hi!

>
> Since I got no comments on this idea. I guess I need release a
> sample release. This is a crude version. Just finished

I didn't have the time yet to test your code, so don't be too in a hurry! :-)

I think you should provide the tar.gz of your complete patched IDE project. 
This way, I will able to look at the difference with the original 0.96 
project, to easily understand and check your code.

> 1. Automatic backup a class file before first save. all the change
> log will base on this backup.

This was already done actually: backup files have the '~' character appended.

> 2. Compare backup class file and saved file
> 3. Write changed function or sub into Changelog+version .txt file

I think you should use the 'diff' command instead of reinventing the wheel.

> 4. Only after you change version number, it will make new backup
> and all the change will based on the new version.
>
> This version only narrow down to function or sub. later version
> will be able to mark changed lines.
>
> Comment and suggestion needed.

I think you could put all the changes in the same files little by little. Like 
a log file. Don't create a file for each version.

I think you should put in this file when a new file is added to the project, 
when a file is removed, when the project property changed, when a translation 
is added, when the version number change, when a package is made... It will 
be like an historic.

You could name this file ".history" or something like that. You must put a dot 
before the name of the file, so that this file don't go in the executable.

>
> thanks
>

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list