Skip to content

djha-skin/degasolv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3b1f5b8 · Oct 26, 2024
Mar 26, 2021
Oct 26, 2024
Jul 2, 2017
Oct 26, 2024
Jun 12, 2019
Mar 26, 2021
Jul 1, 2020
Jun 10, 2017
Oct 26, 2024
Mar 6, 2021
Mar 26, 2021
Mar 26, 2021
Feb 3, 2016
Feb 11, 2016
Sep 15, 2018
Sep 15, 2018
Feb 2, 2016
Apr 29, 2017
Nov 15, 2019
Jun 15, 2017
Jan 25, 2018
Oct 29, 2019
Feb 10, 2017
Oct 26, 2024
May 8, 2018
Jul 2, 2017
Jul 4, 2020
Oct 26, 2024
Oct 26, 2024
Nov 17, 2017

Repository files navigation

Degasolv Logo

Degasolv

Degasolv is a generic dependency resolver that will work across programming language boundaries, customizable to fit the needs of build engineers who are just trying to get their software built.

What is a "Degasolv"?

Named for Degas the painter, and it's a Solver.

Download

Ubuntu: Download for Ubuntu

CentOS: Download for CentOS

See the releases tab for more (including the jar file).

Quick Start

This quickstart is meant to be illustrative. For ideas on how to use degasolv in real life, have a look at A Longer Example. Given these artifacts:

  • http://example.com/repo/a-1.0.zip
  • http://example.com/repo/b-2.0.zip
  • http://example.com/repo/b-3.0.zip
  1. Generate dscard files to represent them in a degasolv respository, like this:
      $ java -jar degasolv-<version>-standalone.jar generate-card \
          --id "a" \
          --version "1.0" \
          --location "https://example.com/repo/a-1.0.zip" \
          --requirement "b>2.0" \
          --card-file "$PWD/a-1.0.zip.dscard"

      $ java -jar degasolv-<version>-standalone.jar generate-card \
          --id "b" \
          --version "2.0" \
          --location "https://example.com/repo/b-2.0.zip" \
          --card-file "$PWD/b-2.0.zip.dscard"

      $ java -jar degasolv-<version>-standalone.jar generate-card \
          --id "b" \
          --version "3.0" \
          --location "https://example.com/repo/b-3.0.zip" \
          --card-file "$PWD/b-2.0.zip.dscard"
  1. Generate a dsrepo file from the cards:
    $ java -jar degasolv-<version>-standalone.jar \
          generate-repo-index \
          --search-directory $PWD \
          --index-file $PWD/index.dsrepo
  1. Then use the dsrepo file to resolve dependencies:
      $ java -jar degasolv-<version>-standalone.jar \
          resolve-locations \
          --repository $PWD/index.dsrepo \
          --requirement "b"

This should return something like this:

      a==1.0 @ http://example.com/repo/a-1.0.zip
      b==3.0 @ http://example.com/repo/b-3.0.zip

To see the help page, call degasolv or any of its subcommands with the -h option. If this is your first time using degasolv, it's recommended that you read A Longer Example.

Installation, Quick Start, Tutorials, Reference?

See Read the Docs.

2017 Degasolv Presentation Slides

See here.

License

Copyright © 2016-2019 Daniel Jay Haskin and others, see the AUTHORS.md file.

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.