El dom, 21-03-2010 a las 23:47 +0100, Mariano Martinez Peck escribió:
> 
>         
>         BTW, the changelog.txt says in the first line:
>         
>         Here is a list of packages included in this PharoCore1.0rc2
>         (#1 => Here
>         is a list of packages included in this PharoCore1.0rc3 (#1
>         
>         the first rc2 should be rc3.
>         
> 
> Hi Miguel. Thanks for reporting. I need a diff guru ;)  you are the
> one!
> 
> The problem is that I am building the changelog with this:
> 
> function buildChangeLog() {
>     echo 'Please copy/past previous packages.txt and press CTRL+d'
>     cat > old-packages.txt
> 
>     # Adds a new line at the end
>     echo >> old-packages.txt
> 
>     diff --side-by-side --expand-tabs --suppress-common-lines \
>     --ignore-blank-lines --ignore-matching-lines='Pharo' --text \
>     old-packages.txt packages.txt \
>     | sed -e 's/ *| */ => /' > changelog.txt
>     
>     rm -f old-packages.txt    
> 
> }
> 
> 
> 
> In this case, what I paste is the previous packages.txt which in this
> case they are something like this:
> 
> Here is a list of packages included in this PharoCore1.0rc2 (#10508):
>  AST-Core-lr.49
>  AST-Tests-lr.5
>  AutomaticMethodCategorizer-DF.25
>  AutomaticMethodCategorizerOB-DF.1
>  BogusInfo-lr.18
>  ConfigurationOfAutomaticMethodCategorizer-MarianoMartinezPeck.4
>  ConfigurationOfGofer-DaleHenrichs.
> ---------continues-------
> 
> 
> And then, packages.txt (the newone) is something like this:
> 
> 
> Here is a list of packages included in this Pharo-1.0-10515-rc3
> (#10515):
>  AST-Core-lr.66
>  AST-Tests-Core-lr.8
>  AutomaticMethodCategorizer-DF.25
>  AutomaticMethodCategorizerOB-DF.1
>  BogusInfo-lr.18
>  ConfigurationOfAutomaticMethodCategorizer-MarianoMartinezPeck.4
>  ConfigurationOfGofer-DaleHenrichs.9
> --------continues-------
> 
> 
> So...the result of the diff is something like this:
> 
> 
> Here is a list of packages included in this PharoCore1.0rc2 (#1 =>
> Here is a list of packages included in this Pharo-1.0-10515-rc3
>  AST-Core-lr.49 => AST-Core-lr.66
>  AST-Tests-lr.5 => AST-Tests-Core-lr.8
> ----continues-----
> 
> First, I don't know why 
> "Here is a list of packages included in this PharoCore1.0rc2 (#1 "
> is cut, because actually the line is
> 
> "Here is a list of packages included in this PharoCore1.0rc2
> (#10508):"
> 
> Second maybe I want to exclude the first line and. I mean, I want
> this:
> 
> Here are the changes in this Pharo-1.0-10515-rc3
>  AST-Core-lr.49 => AST-Core-lr.66
>  AST-Tests-lr.5 => AST-Tests-Core-lr.8
> ----continues-----
> 
> 
> Do you know how can I do both things?


We can work out this script if necessary but, I think, it is really
necessary? What about new packages or packages deleted respect to the
old release?

Also, the it isn't reliable, check the lines:

 ProfStef-LaurentLaffont.14 => ProfStef-Core-LaurentLaffont.2
 Refactoring-Core-lr.101 => ProfStef-Tests-LaurentLaffont.2
 Refactoring-Spelling-lr.18 => Refactoring-Core-lr.115
 Refactoring-Tests-lr.31 => Refactoring-Spelling-lr.19


I think that this part should be abandoned and at least for now, no
changelog released (:) is the first version there isn't anything to
compare with in fact).
For the 1.1 release, we'll add the changelog, respect to 1.0.

So I vote for the easy solution, nuke this part.
Or put a new file with the text of the workspace, because for many
people, after closing the initial workspace they won't know how to open
it again. So instead of a changelog, create a new README file and put
that.

Cheers :)





_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to