Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 29, 2014
  1. @trofi

    WIP: get rid of old simplifier copletely

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Apr 18, 2014
  1. @trofi

    Portage/Dependency.hs: removed sortDeps in favour of List.sort

    trofi authored
    We have consistent instance for 'Dependency'.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Apr 15, 2014
  1. @qnikst
Commits on Apr 4, 2014
  1. @trofi

    Portage/Dependency.hs: remove simplifyDeps in favour of normalize_depend

    trofi authored
    simplifyUseDeps is left to wait when propagate_context
    will be able to perform the same actions (and more).
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Mar 24, 2014
  1. @trofi

    Portage/Dependency.hs: fixed conditional USE pruning

    trofi authored
    Regression introduced by 'ed8673f64e834ba496931beecfa53a1279f0dfcf'
    where I didn't understand what exactly intersectD retuns.
    
    It's actually a filter.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    Portage/Dependency/Types.hs: DependIfUse now holds both positive and …

    trofi authored
    …negative branches
    
    It allows slightly richer representation of dependency tree:
        a? ( d1 ) !a? ( d2 )
    now takes only one node in dependency tree.
    It will allow simpler implementation of complex optimization passes like:
       a? ( b? ( d1 ) ) !a? ( b? ( d1 ) d2 )
     into
       b? ( d1 ) !a? ( d2 )
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Aug 30, 2013
  1. @trofi

    Portage/Dependency/Normalize.hs: add 'sort_deps' pass

    trofi authored
    It is able to sort use flags of the following form:
        b? ( a? ( foo ) ) -> a? ( b? ( foo ) )
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    Portage/Dependency/Types.hs: changed 'DependIfUse' to accept simpler …

    trofi authored
    …type as USE switch
    
    Introduced simpler type
        data DUse = DUse (Bool, Use)
          driving (Eq, Show)
    
    To disallow incorrect representations like
        foo ( a b )
     or
        =bar ( a b)
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Aug 25, 2013
  1. @trofi

    Portage/Dependency.hs: move stringifiers to 'Portage/Dependency/Print…

    trofi authored
    ….hs'
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    Portage/Dependency.hs: move simple helpers for depend creation to 'Po…

    trofi authored
    …rtage/Dependency/Builder.hs'
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  3. @trofi

    Portage/Dependency.hs: move 'normalize_depend' to 'Portage/Dependency…

    trofi authored
    …/Normalize.hs'
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  4. @trofi

    Portage/Dependency.hs: moved type definitions to 'Portage/Dependency/…

    trofi authored
    …Types.hs'
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  5. @trofi

    cleanup: convert 'convertDependency' return type from '[Dependency]' …

    trofi authored
    …to 'Dependency'
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Aug 24, 2013
  1. @trofi

    Portage/Dependency.hs: add 'remove_duplicates' pass to remove simples…

    trofi authored
    …t redundancy
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    Revert "Portage/Dependency.hs: convert 'simplify_deps' to no-op"

    trofi authored
    This reverts commit 9b75873.
    
    As duplicates pop-up. Better tune normalize_depend firt and then
    get rid of this.
  3. @trofi

    Portage/Dependency.hs: convert 'simplify_deps' to no-op

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  4. @trofi

    Portage/Dependency.hs: added basic simplification passes

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  5. @trofi

    Portage/Dependency.hs: added comparison against nonstrict bounds

    trofi authored
        Writing live-sequencer-0.0.4.ebuild
        hackport: i am too lazy to implement LBound:compare
        NonstrictLB (Version {versionNumber = [0,2,1], versionChar = Nothing, versionSuffix = [], versionRevision = 0})
        NonstrictLB (Version {versionNumber = [0,2], versionChar = Nothing, versionSuffix = [], versionRevision = 0})
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  6. @trofi

    Portage/Dependency.hs: simplify datastructure holding dependency ranges

    trofi authored
    - Removed most of horrible simplification code I wrote long ago :]
    - Tuned prettyprinter to print-out better nested USE flags.
      Now generates less newlines
    - Added basic prettyprinter test
      Now it thoroughly tests cases for empty depends
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Mar 10, 2013
  1. @trofi

    Portage/Dependency.hs: workaround simplifier run for 'scion-browser'

    trofi authored
    Added a simplification pass as:
        "zlib, zlib == 0.5.*" => "zlib == 0.5.*"
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  2. @trofi

    Revert "Portage/Dependency.hs: allow simplification phase return 'Any…

    trofi authored
    …Of'"
    
    Comma separated depends for the same package are treated as
    intersection, not union.
    
    This reverts commit 26c702d.
  3. @trofi

    Portage/Dependency.hs: allow simplification phase return 'AnyOf'

    trofi authored
    scion-browser had a 'zlib, zlib == 0.5.*' depend and failed as:
        ...
        Writing scion-browser-0.2.14.ebuild
        hackport: Portage/Dependency.hs: dev-haskell/zlib: unsolvable constraints
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  4. @trofi

    Portage/Dependency.hs: show a file where we have failed

    trofi authored
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Feb 25, 2013
  1. @qnikst

    cleanup code and add sorting

    qnikst authored
Commits on Feb 24, 2013
  1. @qnikst

    correct cabal-flags support

    qnikst authored
Commits on Feb 15, 2013
  1. @qnikst

    "test" use fixed.

    qnikst authored
  2. @qnikst

    add flattenDep helper to simplify_deps

    qnikst authored
    flattenDep will flatten list [AllOf Deps:d1,d2] to
    Deps ++ [d1,d2].
Commits on Oct 15, 2012
  1. @trofi

    Switch to EAPI=5 by default, use subslots for libraries use build-tim…

    trofi authored
    …e depends
    
    Initial support for subslot depends to lessen inconsistency
    damage of haskell library upgrades.
    
    http://dev.gentoo.org/~zmedico/portage/doc/ch05s03s07.html
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on May 5, 2012
  1. @qnikst

    remove renundant UseDeps

    qnikst authored
    this fix is optimistic due it not check if package versions really
    equal. And all code require some tuning
  2. @qnikst
  3. @qnikst

    test dependencies nesting

    qnikst authored
Commits on Apr 19, 2012
  1. @trofi

    Portage/Dependency.hs: don't put doule braces around 'test? ( ( like-…

    trofi authored
    …that ) )'
    
    'DependEither' now is the same '[Dependency]' list as 'AllOf'.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Apr 16, 2012
  1. @renegat96

    Add test-suite support

    renegat96 authored
Commits on Feb 28, 2012
  1. @trofi

    Add support of [profile?] autogenerated depends by qnikst

    trofi authored
    Merge branch 'build-with-use' from 'git://github.com/qnikst/hackport'
    
    * branch 'build-with-use':
      removing trailing spaces
      Do not add profile? flag for binary only pkgs
      UseFlag handling
      Portage/Uses diplay for use list added
      Basic Use types support
    
    Conflicts:
    	Merge/Dependencies.hs
    	Portage/Dependency.hs
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Commits on Feb 27, 2012
  1. @qnikst

    UseFlag handling

    qnikst authored
    * add functionallity for useflag support
    * add profile? use flag for haskell dependencies
Something went wrong with that request. Please try again.