Releases: djha-skin/degasolv
Add Support for Environment Variables and HTTP Authentication
Added
-
Configuration file tower: Degasolv looks for config files in pre-defined
locations on the file system if they exist, see
"Default Configuration Files" in the docs. -
Environment variable support: environment variables are consulted first,
but are merged into the option map AFTER config file material and BEFORE
any given command line options, see
"Environment Variables" and "How Options are Gathered" in the docs. -
Added support for HTTP/HTTPS authentication using basic, oauth2 token
and header methods, see "A Note on Specifying Files" in the docs.
Changed
- Removed deprecated, unused function
degasolv.util.assoc-conj
Fixed
- Option packs are expanded at the level upon which they are defined, then the
options are merged together. This seemed like a bug that needed fixing.
See "Option Packs" in the docs for more information.
Add Support for Minimum Version Selection
Added
-
Added "version suggestion", a performance enhancement allowing for minimum
version selection -
Added the
:index-sort-order
option togenerate-repo-index
,
allowing users to specifyascending
ordescending
. Previously
onlydescending
was supported. With this new option,
users will be able to use Degasolv in a minimum version selection
configuration. -
If the reason for failure in the
resolve-dependencies
function
is:present-package-conflict
, add a key:package-present-by
with
value as either:found
meaning the package was in conflict with a package
found during resolution, or with value as:given
meaning the package
was in conflict with a package given via the parameterpresent-packages
.
Changed
-
Removed the deprecated functions
->requirement
,->package
, and
->version-predicate
from usage in the code base. -
Removed
dbg2
macro in favor of keepingdbg
Fixed
-
Standardized capitalization of the word "Degasolv" to be title case for
consistency in the documentation unless it is in a code snippet. -
Fix #16
-
Fix spec for package id's. This should have the effect of enforcing that
names should not have>
,<
,!
,=
,,
,;
, or|
characters in them. This simply has the effect of changing the error message,
as this was never allowed but handled poorly.
Update Various Argument Defaults
Added
-
Documentation saying what return codes are given and what they mean.
-
For #15, added ability to specify output format for
display-config
. -
Added 3rd Party Licenses document
Changed
-
In the docs,
java -jar degasolv-<version>-standalone.jar
changed to
degasolv
with added note for clarity -
For #13, return code for
resolve-locations
changed to 3 when dependency
resolutions occur to distinguish them from normal "you got the argument
string wrong" errors -
Default
--{enable|disable}-error-format
set toenabled
for
resolve-locations
and
query-repo
. -
Default for
--list-strat
option forresolve-locations
set tolazy
, a
much saner default. -
Option pack
v1
added to help administrators
keep compatibility with version 1 of degasolv if required. -
Default for the
--version-comparison
option when--package-system
is
degasolv
set tosemver
forgenerate-repo-index
,resolve-locations
and
query-repo
. -
Removed less-than-useful warning about absent config files.
Fixed
-
Fixed #14, "Degasolv pulls in X"
-
Fixed bug where
display-config
didn't allow the user
to specify valid options for other things, now it does -
Fixed bug where index.dsrepo didn't generate anything except
an empty map inside the file. This was completely broken. -
Fixed #6, "If one config file fails to load, the rest do as well"
-
Fixed #9, "Heading for 'Specifying Subproc Executable' is wrong in docs"
-
Fixed #10, "How do you specify requirements of a package (deps) in the output
of a subproc to degasolv?"
Add list-strat and subproc-exe
Added
-
Added the
--{enable|disable}-error-format
options to
resolve-location
andquery-repo
. -
Added the
--package-system subproc
option, together with its
--subproc-exe
and--subproc-output-format
options. -
Added the
--json-config
global option allowing users
to use JSON config files -
Added the
--list-strat
option toresolve-locations
, allowing users to have their dependencies listed in a sane order.
Fixed
- JSON/EDN output for
query-repo
erroneously listed the subcommand as
resolve-locations
. Fixed.
Add the ability to specify additional metadata; output it in queries
- Added the
--meta
option togenerate-card
- Added metadata a la
--meta
to theapt
package system - Added the
edn
output format option for theresolve-locations
subcommand - Added the
--output-format
option to thequery-repo
command
Add `--output-format` option to resolve-locations
Added the --output-format
option to the resolve-locations
subcommand. This allows the operator to get information about the run in JSON form instead of plain text.
Added pessimistically greater
Added
- Added the pessimistic greater-than comparison operator
><
.
Fixed
-
Removed validation from the config file option, allowing it to be a URL or
anything else. -
If no arguments are given, the help screen is now printed instead of a wierd
error.
Add some polish
Added
- Distribution is now done via RPM and Debian package as well as JAR file
- Added the
--version-comparison
optionresolve-locations
andquery-repo
,
allowing the user to specify which version comparison algorithm is used. - Added the
--search-strat
option to resolve-locations`, allowing users to select breadth first
search or depth first search during resolution - Added the "matches" operator (
<>REGEX
) which
matches a version against a regex - Added the "in-range" operator (
=>V
) which
matches a version against a certain range of indexes - Added the ability to specify
--present-package
multiple times using the
same package name, but different versions. This is useful for when the
:conflict-strat
is set toinclusive
. - Added tests testing to make sure that unsuccessful runs generate the proper
error messages.
Changed
- Reorganized the unit tests.
- Alphabetized the options for
generate-card
. - Alphabetized the options for
generate-repo-index
.
Fixed
- Fixed bug wherein if the conflict strategy is set to
:inclusive
and a package satisfying a requirement is already found or present,
it is used instead of finding a new one. - Fixed CLI of
display-config
so that
it actually works as advertised, LOLZ - Fixed the CLI output of
--help
so that default values
of options are shown again :) - Refreshed the CLI output of
--help
for all the subcommands
as posted in the docs
Add ``--option-pack``, fix bugs
Added
- Added
--option-pack
, the ability to specify multiple options
Fixed
- Fixed how default options work, they no longer override stuff
found in the config file (ouch) - Fixed output of printed warning when configuration file is not used
Improve ``display-config`` and docs
Added
- Formatted docs better on the front page for PDF purposes
- Add ability to use any (long) option on the command line in display-config
Improved
- Memoized core Degasolv package system repository function (should speed the resolver up a bit)
- Changed apt repo function from filtering a list to lookup in a map, increasing its speed