Changes between Version 6 and Version 7 of pkg-apt


Ignore:
Timestamp:
10/08/09 15:00:09 (15 years ago)
Author:
maphew
Comment:

update docs, announce current release

Legend:

Unmodified
Added
Removed
Modified
  • pkg-apt

    v6 v7  
    11= apt =
    22
    3  * OSGeo4W command line Installer/Updater/Remover
     3 * '''OSGeo4W command line Installer/Updater/Remover'''
    44 * Installs ''osgeo4w''\bin\apt.py which can be launched from the OSGeo4W shell.
    5  * Built from the source code at http://svn.osgeo.org/osgeo4w/trunk/apt
     5 * Source code at http://trac.osgeo.org/osgeo4w/browser/trunk/apt
    66 * Maintained by MattWilkie
    77
    8 ''This program is still in Alpha stage. The primary functions (install, upgrade, remove) seem to work well enough but it's  not recommended for production use. There *are* bugs.''
     8Current package version is v0.0-2. It can  be found under Commandline Utilities in the setup.exe installer.
    99
    10 The package lags behind svn quite a bit right now, so please use [http://trac.osgeo.org/osgeo4w/browser/trunk/apt svn apt.py] when possible.
    11 
    12 Interim documentation: http://code.google.com/p/maphew/wiki/AptGetLike
    13 
    14 Not in the package but related is a
    15 [http://code.google.com/p/maphew/downloads/list standalone apt.exe] which doesn't require an installed python and can be used to install OSGeo4W on a virgin system:
    16 
    17 Minimal o4w skeleton:
     10First time use, from within OSGeo4W shell:
    1811{{{
    19 SET OSGEO4W_ROOT=C:\Osgeo4W
    2012apt setup
    21 apt update
    2213apt install msvcrt
    2314}}}
     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}}}
    2424
    25 A skeleton install is not so useful, so after the above run `apt install gdal`, and perhaps `apt available` to see what other package choices there are.
     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 since v0-0.1:
     29
     30    * much better package removal (though still misses .tmpl files in ./bin and start menu shortcuts, #109)
     31    * new command "apt available" shows packages which could be installed (previously one had to know the name already, #111)
     32    * download percentage counter no longer reports >100% recieved
     33
     34Apt.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. Configure setup.exe's cache directory to `C:\Osgeo4W\var\cache\setup` to avoid duplicating downloads. I would of course expect problems were both to run at the same time.
     35
     36I'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 cyg-apt for cygwin.
     37
     38The 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)
     39
     40Feedback is welcome, especially on programming advice! Please use the o4w trac for logging bugs.
     41
     42Enjoy!