Use buildEnv to combine Hydra's Perl dependencies

[?]
May 24, 2013, 7:26 PM
6K5PBUUN4GQAMOVX5BS6YYMHJ3PIF2PPZBTIEQ4R7BQNHC23GS3AC

Dependencies

  • [2] TNLAFBN7 Add missing dependency on Catalyst::Plugin::Session::State::Cookie.
  • [3] DCNDIQS5 Add dependency on Switch.
  • [4] IAPJR377 release.nix: Add dependency on Guile.
  • [5] AWZEBCMS Use the JSON module
  • [6] LOHWNXEJ Cleanup
  • [7] XJRJ4J7M Add user registration
  • [8] NILMMFMY Respect X-Request-Base header coming from a frontend proxy.
  • [9] AIEKRM6T * Add DBD::SQLite to the list of dependencies.
  • [10] T4LLYESZ * Nix expression for building Hydra.
  • [11] YFPZ46YK * hydra: added variant of build input type, 'build output (same system)' to allow better continous integration in one jobset for multiple system. it makes sure that the system of the build that is passed as input for a job has the same system as the job.
  • [12] RBZRCTAL hydra: fixed and re-enabled evaluation tests
  • [13] WSCHBYEN add topgit to hydra's path
  • [14] 7DWCXNC7 Use the new Nix Perl bindings
  • [15] VM3TQZ65 * hydra: make manual.pdf
  • [16] TRFRGOBD Remove Twitter notification support
  • [17] CFZ6WDUZ
  • [18] TH674WKJ add log diff to compare logs to previous builds
  • [19] J5YZVALJ Remove duplicate dependency.
  • [20] YQWH4POV * Simplify.
  • [21] AMFMXR52 Provide a command ‘hydra-init’ to initialise/upgrade the database
  • [22] UUGBVEGY * Development notes.
  • [23] HJECG75O hydrA: add some pkgs to buildinputs for tests
  • [24] 46Z25UHS Use CatalystX::Script::Server::Starman
  • [25] FSZJXAHR add sqlite to buildinputs
  • [26] IXCUNELF * Don't bother with the Jobs.active column anymore.
  • [27] X5QBLQDG
  • [28] SAFVRDTK * Put Hydra's dependencies so that they can easily be installed in a
  • [29] GBCPEGYC Add a .gitignore
  • [30] DO432JDJ * Build Hydra with the Nix Perl bindings.
  • [31] CLXEECMF * Start putting build results in a database.
  • [32] SZYDW2DG hydra: added some user admin
  • [33] U2BNO3C5 hydra: fix build job
  • [34] ZGBU7H7P * Pass nixUnstable to the tarball build.
  • [35] RFE6T5LG * Store jobset evaluations in the database explicitly. This includes
  • [36] XCHBOA3S svn -> subversion
  • [37] HSVVEKTY * Start of a JSON API to get information about a specific build.
  • [38] HPIJ35SG
  • [39] QUTWJR7P * Include more info in notification emails.
  • [40] 6XJH4OFL add datetime to deps
  • [41] SFMN6AFQ * Include a license.
  • [42] X27GNHDV * Basic job info in the database.
  • [43] RAKTHYAI * In the job status and error pages, show when the status of a job
  • [44] FV2M6MOT hydra: use autoconf/-make
  • [45] CXRCPDSQ * added support for twitter notification
  • [46] G2ZB6464 first test, not yet in buildprocess
  • [47] ZAKI24PI Drop explicit JSON dependency
  • [48] NDJ6PZB7 * Fix symbol to look for.
  • [49] VOPKXPFE Add OpenSSL as a dependency because Nix needs it
  • [50] IJWKUOG4 emailsimplecreator was removed
  • [51] D3MDJONY
  • [52] ZL4LHHZF Remove empty files
  • [53] 6A6CZ7SC draft manual
  • [54] OG7BEM57
  • [55] BKOIYITR added some json responses
  • [56] BQYE6R7Y
  • [57] M3A5PZIH hydra: Clarify the dependency on BDW-GC.
  • [58] UHMUHQMU hydra: fix tarball build, add pre suffix to tarballs
  • [59] 3YSK5YXG * Update to Catalyst 5.9.
  • [60] XDKFASXT Add bzip2 to buildInputs.

Change contents

  • file deletion: deps.nix (----------)
    [9.2][9.500:532](),[9.532][9.1:1]()
    { pkgs }:
    with pkgs;
    [ perlPackages.CatalystAuthenticationStoreDBIxClass
    perlPackages.CatalystPluginAccessLog
    perlPackages.CatalystPluginAuthorizationRoles
    perlPackages.CatalystPluginSessionStateCookie
    perlPackages.CatalystPluginSessionStoreFastMmap
    perlPackages.CatalystPluginStackTrace
    perlPackages.CatalystViewDownload
    perlPackages.CatalystViewJSON
    perlPackages.CatalystViewTT
    perlPackages.CatalystXScriptServerStarman
    perlPackages.CryptRandPasswd
    perlPackages.DBDPg
    perlPackages.EmailSender
    perlPackages.FileSlurp
    perlPackages.IOCompress
    perlPackages.IPCRun
    perlPackages.JSONXS
    perlPackages.PadWalker
    perlPackages.CatalystDevel
    perlPackages.Readonly
    perlPackages.SQLSplitStatement
    perlPackages.Starman
    perlPackages.SysHostnameLong
    perlPackages.TestMore
    perlPackages.TextDiff
    perlPackages.TextTable
    perlPackages.XMLSimple
    nixUnstable
    guile # optional, for Guile + Guix support
    ]
    perlPackages.Switch # XXX: seems to be an indirect dep of `hydra-build'
    perlPackages.DBDSQLite
    perlPackages.DataDump
    perlPackages.DateTime
    perlPackages.DigestSHA1
    perlPackages.CatalystTraitForRequestProxyBase
    perlPackages.CatalystPluginCaptcha
  • edit in doc/dev-notes.txt at line 94
    [9.6094][9.93:94]()
  • edit in doc/dev-notes.txt at line 95
    [9.95][9.95:143]()
    * Installing deps.nix in a profile for testing:
  • edit in doc/dev-notes.txt at line 96
    [9.144][9.300:408](),[9.408][9.272:275](),[9.272][9.272:275](),[9.275][9.0:1]()
    $ nix-env -p $NIX_USER_PROFILE_DIR/hydra-deps -f deps.nix -i \* --arg pkgs 'import /etc/nixos/nixpkgs {}'
  • edit in release.nix at line 49
    [9.1662]
    [9.874]
    let
    nix = nixUnstable;
  • replacement in release.nix at line 54
    [9.875][9.61:91]()
    let nix = nixUnstable; in
    [9.875]
    [9.184]
    perlDeps = buildEnv {
    name = "hydra-perl-deps";
    paths = with perlPackages;
    [ CatalystAuthenticationStoreDBIxClass
    CatalystPluginAccessLog
    CatalystPluginAuthorizationRoles
    CatalystPluginCaptcha
    CatalystPluginSessionStateCookie
    CatalystPluginSessionStoreFastMmap
    CatalystPluginStackTrace
    CatalystViewDownload
    CatalystViewJSON
    CatalystViewTT
    CatalystXScriptServerStarman
    CatalystTraitForRequestProxyBase
    CryptRandPasswd
    DBDPg
    DBDSQLite
    DataDump
    DateTime
    DigestSHA1
    EmailSender
    FileSlurp
    IOCompress
    IPCRun
    JSONXS
    PadWalker
    CatalystDevel
    Readonly
    SQLSplitStatement
    Starman
    Switch # XXX: seems to be an indirect dep of `hydra-build'
    SysHostnameLong
    TestMore
    TextDiff
    TextTable
    XMLSimple
    nix git
    ];
    };
    in
  • replacement in release.nix at line 103
    [9.1780][6.90:302]()
    [ perl makeWrapper libtool nix unzip nukeReferences pkgconfig boehmgc sqlite
    git gitAndTools.topGit mercurial subversion bazaar openssl bzip2
    ] ++ (import ./deps.nix) { inherit pkgs; };
    [9.1780]
    [9.1304]
    [ makeWrapper libtool unzip nukeReferences pkgconfig boehmgc sqlite
    gitAndTools.topGit mercurial subversion bazaar openssl bzip2
    guile # optional, for Guile + Guix support
    perl perlDeps
    ];