Commit graph

57 commits

Author SHA1 Message Date
Dominik Picheta
e789a7a325 Fixes #21 2013-12-20 13:31:59 +00:00
Dominik Picheta
8585e11a4d Extra checks for unsatisfiable dependencies.
Specifically this refers to the problem with babel-test/packagebin.
PackageBin ends up depending on two different versions of PackageA (0.2
and 0.5). This however cannot be built because the Nimrod compiler can
only use one of these packages.
2013-12-20 13:05:10 +00:00
Dominik Picheta
e14ffd5628 Better download dir names for URL dependencies. 2013-12-15 17:21:41 +00:00
Dominik Picheta
b266132da0 Added a more descriptive error when trying to install a version of a
package which does not exist.
2013-12-15 16:30:45 +00:00
Dominik Picheta
4bc0c17fe9 A URL can now be specified for installation. 2013-12-15 00:55:36 +00:00
Dominik Picheta
c24627b45c List command supports --ver now. 2013-12-14 23:24:06 +00:00
Dominik Picheta
b6bde8b0e7 VCS commit hash, branch or tag can now be specified when installing
packages.
2013-12-14 20:56:00 +00:00
Dominik Picheta
1646f45111 Version querying is now disabled by default. 2013-12-14 17:52:04 +00:00
Dominik Picheta
2406776f89 Merge branch 'pr_case_insensitive_search' of https://github.com/gradha/babel into gradha-pr_case_insensitive_search
Conflicts:
	babel.nim
2013-12-09 22:03:57 +00:00
Dominik Picheta
c6fa3019af Search will now continue even if packages are found based on tag name. 2013-12-09 16:58:13 +00:00
Grzegorz Adam Hankiewicz
1084b1553b Makes search case insensitive. 2013-12-09 10:19:20 +01:00
Dominik Picheta
0e8c581e72 Fixes #17 2013-11-30 15:26:44 +00:00
Dominik Picheta
94df44eb6c Fixes #16 2013-11-30 14:55:02 +00:00
Dominik Picheta
b1358d7d74 Raise EBabel exception instead of calling quit(). 2013-11-30 14:53:12 +00:00
Dominik Picheta
e52087f84d Refactored code so that it doesn't use a global variable. 2013-11-30 14:28:44 +00:00
Dominik Picheta
3b619f1071 Merge branch 'pr_polite_install' of git://github.com/gradha/babel into gradha-pr_polite_install 2013-11-30 14:08:20 +00:00
Grzegorz Adam Hankiewicz
cd8969d439 Removes didUpdatePackages check without json file. 2013-11-13 18:56:24 +01:00
Grzegorz Adam Hankiewicz
09a898f2db Implements path command for packages.
Use this to find the absolute path to installed software.
2013-11-10 21:29:39 +01:00
Grzegorz Adam Hankiewicz
d2ff13144d Adds -y/-n switches for non interactive operation. 2013-11-07 23:42:27 +01:00
Grzegorz Adam Hankiewicz
e08f9101b8 Adds update suggestion to failed install commands.
The install proc checks the didUpdatePackages first to avoid infinite
recursion.
2013-11-07 23:27:33 +01:00
Grzegorz Adam Hankiewicz
87008ed99c Adds didUpdatePackages global to detect downloads. 2013-11-07 23:11:23 +01:00
Dominik Picheta
181c8401ef Fixed the format of the compiler command being executed. 2013-10-24 19:00:22 +01:00
Dominik Picheta
d513450d8b Fixed quotes in .bat file. 2013-10-05 19:14:25 +01:00
Dominik Picheta
871a2c90b4 Fixed directories with spaces causing problems during builds. 2013-10-05 19:01:48 +01:00
Dominik Picheta
2caa500a80 Updated version information. 2013-10-05 18:27:33 +01:00
Dominik Picheta
a38f29f971 Updated help text. 2013-10-05 18:23:15 +01:00
Dominik Picheta
05d662152a Fixes #7 2013-10-05 18:17:52 +01:00
Dominik Picheta
62b0ddd8c2 Added babel file. Added install instructions. 2013-08-19 16:09:47 +01:00
Dominik Picheta
2a8d3082d4 Implemented 'backend' option. 2013-08-16 15:48:20 +01:00
Dominik Picheta
07b7f46fd6 Implemented download of packages residing in mercurial repos.
* Moved download handling code into a download module.
* Documented how versioning works for repos (via tags).
* More info during install about what tag is picked.
* Refactored download code to be more generic.
2013-07-26 23:58:25 +01:00
Dominik Picheta
d826584f21 Improved 'babel search'. 2013-06-28 00:27:20 +01:00
Dominik Picheta
3ddb48bc08 Implemented a 'rootDir' key. 2013-06-26 23:24:11 +01:00
Dominik Picheta
19b5d3072f Implemented a whitelist mode. 2013-06-26 22:45:13 +01:00
Dominik Picheta
9f60514c40 Changed package install dir to $babelDir/pkgs. 2013-06-26 14:59:04 +01:00
Dominik Picheta
edc91d7f4d Switch branch to 'master' before pulling. 2013-06-26 02:00:37 +01:00
Dominik Picheta
30d3177228 Binary packages can now be used as libraries by other binary packages. 2013-06-26 00:29:49 +01:00
Dominik Picheta
5b45d6be2d Fixes many issues on Windows.
* Usage of setCurrentDir instead of executing 'cd'.
* Implemented binary packages for Windows; .bat files are generated in $babelDir/bin/
2013-06-25 19:33:31 +01:00
Dominik Picheta
c5d8bca8ec Fixes some Windows issues. 2013-06-22 03:17:24 +01:00
Dominik Picheta
468e11ecd5 Information about what symlinks are created is now printed to stdout. 2013-06-21 23:34:33 +01:00
Dominik Picheta
266ef672ad Merge branch 'master' of github.com:nimrod-code/babel
Conflicts:
	babel.nim
2013-06-21 21:54:29 +01:00
Dominik Picheta
b56262010b Implements binary package symlinking to $babelDir/bin.
This fixes the issues outlined http://forum.nimrod-code.org/t/163;
Windows support is still TODO.
2013-06-21 21:49:50 +01:00
Billingsly Wetherfordshire
7ab81d52eb Update babel.nim
remove old, unversioned package dir
2013-06-04 22:24:14 -06:00
Dominik Picheta
f46fcaf6d3 Refactored a lot of code -- split many functions into separate module. 2013-06-02 22:38:13 +01:00
Dominik Picheta
5e01fa0342 Many new features: build command and dependency resolution implemented. 2013-06-01 17:04:57 +01:00
Billingsly Wetherfordshire
fbe207231b Update babel.nim 2013-05-02 21:04:10 -05:00
Billingsly Wetherfordshire
0099dc9a01 try to update the install repo before cloning 2013-05-02 09:00:20 -05:00
Billingsly Wetherfordshire
9f4e725fb1 make git clone with --depth 1
It will make downloading them faster. Also, I would write it to check if the repos exists and try to `git pull` and checkout if it does.
2013-05-02 01:06:01 -05:00
Dominik Picheta
a77adb870d Changed the directory of where packages are installed to ~/.babel 2013-01-12 20:28:12 +00:00
Dominik Picheta
9e33051345 Fixed #2 2013-01-12 20:25:01 +00:00
Dominik Picheta
2330cf814e Added BSD license information. 2012-12-08 23:30:20 +00:00