Commits on Jul 14, 2015
  1. Add command to create config.

    I settled on using JSON for the configuration.  Using the default rendering
    for now, but that will have to change before release.
    
    Add a `saveDefCfg` function in `Util.Cfg` as well as implementing `readCfg`.
    Both are implemented in the obvious way.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 15, 2015
  2. Add copyright text to Extract.hs.

    It was missing!
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 14, 2015
Commits on Jul 12, 2015
  1. Limit the visibility of definitions in Util.Cfg.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 12, 2015
  2. Prepare for reading the configuration from file.

    Hide the default config behind an IO action.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 12, 2015
  3. Make use of the config from the command runtime env.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 11, 2015
Commits on Jul 11, 2015
  1. Add a config to the runtime env/state.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 11, 2015
  2. Calculate the index cache filename.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 11, 2015
  3. Add a type for the config and make use of it.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 11, 2015
  4. Rename the local cache of the index file.

    Now it reflects where it came from.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 11, 2015
  5. Add a file for handling configuration.

    To begin it just holds the static value for the URL of the index file (and the
    filename where it's stored.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jul 11, 2015
Commits on Jun 26, 2015
  1. Bump dependency on aeson.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jun 26, 2015
Commits on Jun 17, 2015
  1. Use the fpcomplete mirror of the index file.

    It should have better availability than the one on hackage.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jun 17, 2015
Commits on Jun 4, 2015
  1. Merge in work on listing formats.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jun 4, 2015
Commits on Jun 3, 2015
  1. Modify tests for new list format option.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jun 3, 2015
  2. Add format option to list command.

    It's often useful to list the current version of packages in a short format,
    e.g. for re-adding.  This means there now are three formats for listing and an
    ordinary switch is no longer enough.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 29, 2015
  3. Rename function for listing packages in standard/normal format.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Jun 3, 2015
Commits on May 29, 2015
  1. Add long name for short listing of updates.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 29, 2015
Commits on May 21, 2015
  1. Change `sync` to `update` internally and in UI too.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 21, 2015
  2. Rename Sync to Update, it's simply a better name.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 21, 2015
  3. Rename a couple of internal functions in Upgrades.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 18, 2015
  4. Rename 'update' to 'upgrades' internally too.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 18, 2015
Commits on May 18, 2015
  1. Rename module Updates to Upgrades.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 18, 2015
Commits on May 10, 2015
  1. Escape shell strings when prettifying them.

    Also combine package descriptions split over several lines.
    
    The lack of escaping was especially an issue with package descriptions
    containing markdown.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 10, 2015
Commits on May 6, 2015
  1. Bump version for devo.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 6, 2015
  2. Add x-revision to distro packages in the DB.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 6, 2015
Commits on May 1, 2015
  1. Bump version for devo.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 1, 2015
  2. Adjust tests to inclusion of x-revision.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 29, 2015
  3. Make package listing include x-revision.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 29, 2015
  4. Make the release variable an integer.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 1, 2015
  5. Add xrev to the pkgver variable in PKGBUILD.

    After some discussion on the mailing list this seems to be the best way to add
    x-revision to the package verion.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed May 1, 2015
Commits on Apr 25, 2015
  1. Change the representation of the internal package type.

    Rewrite them in order to remove numerous non-total functions (accessors).
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 25, 2015
  2. Remove a silly space so vim realises it's a fold

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 25, 2015
  3. Change the type of the release to Int.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 25, 2015
  4. Prepare for DB changes by updating old.

    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 25, 2015
Commits on Apr 23, 2015
  1. Remove the Cabal patch from the PKGBUILD.

    The Cabal file taken from the index is patched and ready by the time it ends
    up in the source package, so there's no point  in attempting any  further
    patching.
    
    Signed-off-by: Magnus Therning <magnus@therning.org>
    committed Apr 23, 2015