Changes between Initial Version and Version 1 of OSGeo4W_jp/pkg-apt


Ignore:
Timestamp:
Feb 18, 2010, 6:27:26 PM (14 years ago)
Author:
hfujii
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSGeo4W_jp/pkg-apt

    v1 v1  
     1= apt =
     2
     3 * '''OSGeo4W command line Installer/Updater/Remover'''
     4 * Installs ''osgeo4w''\bin\apt.py which can be launched from the OSGeo4W shell.
     5 * Source code at http://trac.osgeo.org/osgeo4w/browser/trunk/apt
     6 * Maintained by MattWilkie
     7
     8Current package version is '''v0.0-3'''. It can  be found under Commandline Utilities in the setup.exe installer.
     9
     10First time use, from within OSGeo4W shell:
     11{{{
     12apt setup
     13apt install shell
     14}}}
     15After that:
     16{{{
     17apt update        (fetch up-to-date setup.ini)
     18apt install gdal  (install package "gdal")
     19apt new           (show possible upgrades)
     20apt list          (show installed packages)
     21apt available     (show installation candidates)
     22apt remove xxx    (uninstall package xxx)
     23}}}
     24
     25For a completely virgin system see
     26[http://code.google.com/p/maphew/wiki/OsgeoFromScratch Osgeo From Scratch] which doesn't require an installed python or o4w shell.
     27
     28Changes for v0.0-3:
     29    * Start Menu and Desktop link creation is no longer hardcoded and believed amenable to non-english locales (thanks to Luke Pinner)
     30    * shares mirror and cache information with osgeo-setup.exe, so packages should only be downloaded once regardless which program is used.
     31
     32Changes for v0.0-2:
     33
     34    * much better package removal (though still misses .tmpl files in ./bin and start menu shortcuts, #109)
     35    * new command "apt available" shows packages which could be installed (previously one had to know the name already, #111)
     36    * download percentage counter no longer reports >100% recieved
     37
     38Apt.py and setup.exe use the same install database and procedures (though not code). One can switch between them at will depending on the needs of the moment. I would of course expect problems were both to run at the same time. ~~Configure setup.exe's cache directory to `C:\Osgeo4W\var\cache\setup` to avoid duplicating downloads.~~ ''(no longer needed post v0.0-3)''
     39
     40I've been using apt.py without significant issues for over a year, nevertheless I still consider this alpha software. This is my first real  software development project and I've no training whatsoever. The only reason it works at all is because the original author, Jan Nieuwenhuizen, knew what he was doing when he wrote [http://download.linuxaudio.org/lilypond/binaries/cygwin/ cyg-apt for cygwin].
     41
     42The biggest functional problem is that uninstall is not yet comprehensive. There is little error trapping and not enough feedback on commands. For example "apt remove" just silently exits back to the shell prompt when it should respond with a usage message ("apt remove [package_name]"), at the least. (#53)
     43
     44Feedback is welcome, especially on programming advice! Please use the o4w trac for logging bugs.
     45
     46Enjoy!
     47
     48-matt
     49
     50[wiki:OSGeo4W_jp/AboutLicenses 戻る]
     51