[maemo-developers] Enriching the Application Manager scripting experience
From: Marius Vollmer marius.vollmer at nokia.comDate: Fri Feb 23 17:42:57 EET 2007
- Previous message: Enriching the Application Manager scripting experience
- Next message: Enriching the Application Manager scripting experience
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"ext Marius Gedminas" <marius at pov.lt> writes: > On Fri, Feb 23, 2007 at 04:28:37PM +0200, Marius Gedminas wrote: >> Let me try... >> >> [install] >> temporary_file_relative_repo_deb = .repository/mistral mistral >> temporary_file_relative_repo_deb_3 = .repository/bora bora > > On second thought, this would be better: > > temporary_repo_deb = file-relative:///.repository/mistral mistral > temporary_repo_deb_3 = file-relative:///.repository/bora bora > > The app manager can straightforwardly replace the file-relative:/// > prefix to file:///path/to/the/location/ But that would mean more parsing in more places. I'd like to parse only once, when reading the data structure, and the code then just walks this data structure without the need for more parsing. The following Perlisism comes to mind: The string is a stark data structure and everywhere it is passed there is much duplication of process. It is a perfect vehicle for hiding information.
- Previous message: Enriching the Application Manager scripting experience
- Next message: Enriching the Application Manager scripting experience
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]