Tristan Sloughter
f701895165
filter available package versions individually by buildtools
9 years ago
Heinz N. Gies
e9e62657c9
Add more hex rules so they don't throw errors
Add more version constraints
Allow for any number of whitespaces after compairison opperator
Improve updating and error printing
Fix failing tests
9 years ago
Tristan Sloughter
9cf84e5379
add user-agent to http request headers
9 years ago
Tristan Sloughter
c4c7ca4244
support temporary cdn change with HEX_CDN os var
9 years ago
Tristan Sloughter
d4e8765007
only add package list of versions to registry if it has the right buildtool support
9 years ago
Tristan Sloughter
d6ea1e7df4
return more useful error message (failed to download) when pkg http req fails
9 years ago
Tristan Sloughter
00a4a44547
remove replacement of home dir with ~ in update output
9 years ago
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
9 years ago
Tristan Sloughter
391959dae8
use 'default' for default hex repo path in cache and include in info messages
9 years ago
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
9 years ago
Tristan Sloughter
6242c81554
include rebar3 in supported packages buildtool
9 years ago
pvmart
278c0bdfa5
fix leaking ets tables caused by digraphs
9 years ago
Tristan Sloughter
ecf6ad5524
fix no_return warnings
9 years ago
Tristan Sloughter
6fde1748b9
fix dialyzer warnings, except 'no local return' warnings
9 years ago
CarlosEDP
38cc32c40a
Added rebar profile to httpc initialization and calls.
10 years ago
Fred Hebert
3ed0c5feff
fix bareness issues
- Crashes in providers lib when no providers in a namespace are bare
- Making sure bareness matches semantics; i.e. a bare provider is
visible, a non-bare provider is hidden.
10 years ago
Fred Hebert
ca038d39f7
Proper custom pkg index support, some tests
- The rebar package index files have been moved off the default path and
will require a new `rebar3 update`
- Caching of downloaded packages automatically takes place in a path
relative to the CDN used
- The cache path is not shared with hex as we now write and modify data
in there arbitrarily
- Basic tests plus the working set for more of them is included
10 years ago
Tristan Sloughter
c5aee4b375
ignore pkgs that can't build with rebar or make
10 years ago
Tristan Sloughter
ce74589a56
handle missing package in registry by skipping
10 years ago
Tristan Sloughter
cce1ad00ba
ignore optional deps for now
10 years ago
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
10 years ago
Fred Hebert
043a2f5453
Provide descriptions for all tasks
10 years ago
Tristan Sloughter
cfd10b82f1
add back throw on package index write
10 years ago
Fred Hebert
92245a138b
use PRV_ERROR for formattable errors
Also expose it in rebar_api
10 years ago
Tristan Sloughter
ea82d0561d
update all examples in providers to use rebar3
10 years ago
Fred Hebert
6ccef53891
Revert accidental commited debug code
10 years ago
Fred Hebert
249be4985c
Reuse test code and drop duplicated stuff
10 years ago
Tristan Sloughter
e73ed97cfd
follow xdg standard. fixes #122
10 years ago
Tristan Sloughter
9fbfeaa74d
parse version constraints in hex registry for digraph
10 years ago
Tristan Sloughter
410e2bcdec
replace package management with hex.pm
10 years ago
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 years ago
Tristan Sloughter
f22db1302d
new dep graph working
10 years ago
Tristan Sloughter
926e550f3b
update package index fetching
10 years ago
Tristan Sloughter
4c8db4e047
write packages file to tmp so a lost connection doesn't mean corruption
10 years ago
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
10 years ago
Tristan Sloughter
79b1f23240
move back to using format_error/1
10 years ago
Tristan Sloughter
77ae749326
update package update provider
10 years ago
Tristan Sloughter
1dce2d36cc
add format_error/2 provider callback to providers
10 years ago
Tristan Sloughter
4b7281effc
fix update provider do/1 return
10 years ago
Tristan Sloughter
b37a5ae611
move providers to separate app
10 years ago
Tristan Sloughter
955f582a3e
fix for downloading transitive source deps
10 years ago
Tristan Sloughter
db9ba68f80
erorr message on failed package update
10 years ago
Tristan Sloughter
e9a3396e56
return error messages from providers
10 years ago
Tristan Sloughter
e392bfaec3
update src dep works except for removed transitive deps
10 years ago
Tristan Sloughter
e1b1152b21
slowly widdling away at dialyzer errors
10 years ago
Tristan Sloughter
0649be271b
wip: update dep
10 years ago
Tristan Sloughter
1dabd217db
inefficient way, but safer, of checking if an app is already downloaded
10 years ago
Tristan Sloughter
73ee56eace
add do task
10 years ago
Tristan Sloughter
2357bdf67f
reworking of help display and parse of commands
10 years ago
Tristan Sloughter
71d9500997
tmp
10 years ago