[Pharo-project] Auto-rename image and changes file after updating
Hi, I've noticed every time I update a Pharo image I should rename manually the image and changes file names to match the new updated version number. I.e.: If you have PharoCore-1.1-11291-UNSTABLE.changes PharoCore-1.1-11291-UNSTABLE.image then update to #11295 and save and quit, you should modify the file names manually to PharoCore-1.1-11295-UNSTABLE.changes PharoCore-1.1-11295-UNSTABLE.image The attached files does the following: -After a Pharo software update, evaluate the FileOutNewNamesAfterUpdate.st script -Quit the image -For Win users: Run the batch updateFileNames.bat to rename the image and changes files to the latest version. (this is not the same as Save as...) Feel free to modify and use it as you want :) Cheers, Hernán
jajajaj thanks Hernán. You were less lazy than me. I always do the same (manually) ;) Thanks! Mariano 2010/3/25 Hernán Morales Durand <hernan.morales@gmail.com>
Hi, I've noticed every time I update a Pharo image I should rename manually the image and changes file names to match the new updated version number. I.e.:
If you have PharoCore-1.1-11291-UNSTABLE.changes PharoCore-1.1-11291-UNSTABLE.image
then update to #11295 and save and quit, you should modify the file names manually to
PharoCore-1.1-11295-UNSTABLE.changes PharoCore-1.1-11295-UNSTABLE.image
The attached files does the following:
-After a Pharo software update, evaluate the FileOutNewNamesAfterUpdate.st script -Quit the image -For Win users: Run the batch updateFileNames.bat to rename the image and changes files to the latest version. (this is not the same as Save as...)
Feel free to modify and use it as you want :) Cheers,
Hernán
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
save as doe not work? because I do simply save as. On Mar 25, 2010, at 3:51 AM, Hernán Morales Durand wrote:
Hi, I've noticed every time I update a Pharo image I should rename manually the image and changes file names to match the new updated version number. I.e.:
If you have PharoCore-1.1-11291-UNSTABLE.changes PharoCore-1.1-11291-UNSTABLE.image
then update to #11295 and save and quit, you should modify the file names manually to
PharoCore-1.1-11295-UNSTABLE.changes PharoCore-1.1-11295-UNSTABLE.image
The attached files does the following:
-After a Pharo software update, evaluate the FileOutNewNamesAfterUpdate.st script -Quit the image -For Win users: Run the batch updateFileNames.bat to rename the image and changes files to the latest version. (this is not the same as Save as...)
Feel free to modify and use it as you want :) Cheers,
Hernán <FileOutNewNamesAfterUpdate.st><updateFileNames>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Thu, Mar 25, 2010 at 9:27 AM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
save as doe not work? because I do simply save as.
Yes, it works. But you have to do, system about, copy the version, and then put it in the save us popup hhahaa there are persons VERY lazy :)
On Mar 25, 2010, at 3:51 AM, Hernán Morales Durand wrote:
Hi, I've noticed every time I update a Pharo image I should rename manually the image and changes file names to match the new updated version number. I.e.:
If you have PharoCore-1.1-11291-UNSTABLE.changes PharoCore-1.1-11291-UNSTABLE.image
then update to #11295 and save and quit, you should modify the file names manually to
PharoCore-1.1-11295-UNSTABLE.changes PharoCore-1.1-11295-UNSTABLE.image
The attached files does the following:
-After a Pharo software update, evaluate the FileOutNewNamesAfterUpdate.st script -Quit the image -For Win users: Run the batch updateFileNames.bat to rename the image and changes files to the latest version. (this is not the same as Save as...)
Feel free to modify and use it as you want :) Cheers,
Hernán
<FileOutNewNamesAfterUpdate.st><updateFileNames>_______________________________________________
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
But the Save as... doesn't rename the image and changes file, just creates two files with the updated version number. With a simple batch file you may send keystrokes to Pharo too and do some automated building of images daily. Cheers, Hernán 2010/3/25 Mariano Martinez Peck <marianopeck@gmail.com>:
On Thu, Mar 25, 2010 at 9:27 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
save as doe not work? because I do simply save as.
Yes, it works. But you have to do, system about, copy the version, and then put it in the save us popup hhahaa there are persons VERY lazy :)
On Mar 25, 2010, at 3:51 AM, Hernán Morales Durand wrote:
Hi, I've noticed every time I update a Pharo image I should rename manually the image and changes file names to match the new updated version number. I.e.:
If you have PharoCore-1.1-11291-UNSTABLE.changes PharoCore-1.1-11291-UNSTABLE.image
then update to #11295 and save and quit, you should modify the file names manually to
PharoCore-1.1-11295-UNSTABLE.changes PharoCore-1.1-11295-UNSTABLE.image
The attached files does the following:
-After a Pharo software update, evaluate the FileOutNewNamesAfterUpdate.st script -Quit the image -For Win users: Run the batch updateFileNames.bat to rename the image and changes files to the latest version. (this is not the same as Save as...)
Feel free to modify and use it as you want :) Cheers,
Hernán
<FileOutNewNamesAfterUpdate.st><updateFileNames>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (3)
-
Hernán Morales Durand -
Mariano Martinez Peck -
Stéphane Ducasse