Commit graph

734 commits

Author SHA1 Message Date
Ico Doornekamp
3d6dc90cd4 Strip whitespace from authentication token.
My token had a newline in the file, resulting in the following HTTP
request being made to Github:

```
GET /user HTTP/1.1
Host: api.github.com
Connection: Keep-Alive
authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

content-type: application/x-www-form-urlencoded
accept: */*
user-agent: Nim httpclient/0.19.9
```

Unfortunately the friendly error message returned by the Github server
is lost in translation because getContent() throws an exception, never
handling the body.
2019-02-04 21:54:50 +00:00
Timothee Cour
61e6afe167 brew doesn't require sudo 2019-02-01 20:06:47 +01:00
Dominik Picheta
e60ab12549
Merge pull request #604 from alaviss/no-pkglist
config: don't error out if no package list found
2019-01-20 08:23:12 -08:00
Leorize
4be5308941
config: don't error out if no package list found 2019-01-20 15:53:06 +07:00
genotrance
88f5545c75 Allow removal of reverse dependencies with uninstall --deps flag (#601)
* Fix for #398

* Updated fix for #398

* Enable uninstall of reverse deps

* Update README

* Updates based on feedback
2019-01-08 19:58:19 +00:00
markfirmware
68bb97f30a Update readme.markdown (#596) 2018-12-18 08:49:49 +01:00
Dominik Picheta
9e87cb77a8
Merge pull request #593 from yglukhov/fix-findExe
Fixed findExe in nimscript
2018-12-14 00:09:44 +00:00
Yuriy Glukhov
22485bbd6a Fixed finExe in nimscript 2018-12-13 19:15:10 +02:00
technicallyagd
119be481df Additional information on Nim compiler integration (#554)
* Additional information on Nim compiler integration

* Move the information to a dedicated section

Emphasize the fact that no extra step is required if using default `nimbleDir`.

* Adds changes requested

* NimblePath to nimblePath for consistency

* Update readme.markdown
2018-12-10 22:51:43 +00:00
Matt Haggard
ba6577d36c Don't swallow control-C (#588)
* Don't swallow control-C

* Raise NimbleError instead of quitting

* Import NimbleError from common rather than version
2018-11-30 01:08:02 +00:00
Dominik Picheta
d9055dbac6 Use fgDefault instead of setting bg/fg. 2018-11-21 23:27:29 +00:00
juancarlospaco
5103541195 Just add a simple arrow 2018-11-20 13:59:49 -03:00
juancarlospaco
10260a1223 Fix #579 2018-11-12 03:36:45 -03:00
Jabba Laci
22aa3c1d13 #555: nimble test removes the created binaries (#566) 2018-10-19 23:40:41 +01:00
Clyybber
66d79bf9a0 Replace deprecated procs (#560)
* Replace deprecated procs

* Remove deprecated proc

* Use sugar instead of future

* Use sugar instead of future 2

* Remove renameBabelToNimble

since it wasn't exported or used anyways

* Use sugar instead of future 3

* Use toUnix
2018-10-14 17:45:18 +01:00
Dominik Picheta
f7373e03d5
Merge pull request #552 from LemonBoy/develop-uri
Don't prepend file:// twice
2018-10-09 00:21:50 +01:00
LemonBoy
a218bc3793 Don't prepend file:// twice 2018-10-08 21:31:25 +02:00
Dominik Picheta
af1c1d73c3 Version 0.9.0. v0.9.0 2018-09-19 23:53:27 +01:00
Dominik Picheta
1f79f17de9
Merge pull request #545 from braunse/master
Properly guard access to NimCompilerApiVersion.
2018-09-15 23:30:46 +01:00
Sebastien Braun
964af450dd Properly guard access to NimCompilerApiVersion.
Makes master compile on latest released Nim 0.18.0.
2018-09-15 21:36:33 +02:00
Andreas Rumpf
ee4c0aef26
Merge pull request #538 from nim-lang/handle-remove-dir-error
Handle remove dir error
2018-09-12 14:32:11 +02:00
Dominik Picheta
3ba8bd940d Fixes Nimble installation problem due to breaking change (090917926). 2018-09-11 23:35:59 +01:00
Dominik Picheta
c09b273eaf Handle removeDir error when removing Nimble's temp dir.
Replaces #537.
2018-09-11 21:11:41 +01:00
Dominik Picheta
0909179261 Breaking change: hybrid packages require installExt = @["nim"]. 2018-09-10 21:46:10 +01:00
Dominik Picheta
9f4081e888 Softened package structure rules when srcDir is not specified.
Fixes #469.
2018-09-10 00:24:20 +01:00
Dominik Picheta
fb879efb72 Binary packages no longer install .nim files implicitly. Refs #469. 2018-09-09 23:24:53 +01:00
Dominik Picheta
5dfe81556b Adds test for #476. Closes #476. 2018-09-09 22:26:27 +01:00
Dominik Picheta
5d765fcc27 Fixes #496. 2018-09-09 22:16:03 +01:00
Dominik Picheta
3ee1e115f4 Improves the directory structure that init creates.
Fixes #413. Refs #315.
2018-09-09 18:15:42 +01:00
Dominik Picheta
ae4fc39a7a Fixes check for existing .nimble file in nimble init. 2018-09-09 16:01:40 +01:00
Dominik Picheta
cc71c6f80e Improves nimble init (more licenses and consistent identifiers). 2018-09-09 15:43:43 +01:00
Andreas Rumpf
094b6fe180
Merge pull request #534 from nim-lang/araq-nim-compilerapi-version-3
prepare Nimble for NimCompilerApiVersion 3
2018-09-07 09:19:19 +02:00
Andreas Rumpf
e6c41248e6 prepare Nimble for NimCompilerApiVersion 3 2018-09-07 01:40:01 +02:00
Dominik Picheta
bce70a21bb
Merge pull request #532 from antizealot1337/init_create_dir
Fixes #503 by creating directory if current and name differ
2018-09-05 21:48:42 +01:00
Christopher Pridgen
260eb854fd Fixes #503 by creating directory if current and name differ 2018-09-04 21:21:41 -04:00
Dominik Picheta
7d1f096626 Ask user to remove whole directory, not just .nimble-link. 2018-09-02 20:05:14 +01:00
Dominik Picheta
d606867da6 Fixes #436. Develop clones HEAD and full history. 2018-09-02 01:11:50 +01:00
Dominik Picheta
225a0ef661 Fixes #501. 2018-09-01 23:29:26 +01:00
Dominik Picheta
fe21329f3d Fixes #531. Fixes #393. Replaces #465. 2018-09-01 23:01:16 +01:00
antizealot1337
a3a60eca51 Prompt for multiple selections interactively when possible (#441)
* Add interactive selection ability and preserve old behavior if not available

* Add description of library and binary packages

* Add function origin to doc

* Fix typos and windows compilation test

* Change select message type and fix style

* Change to use TAB to cycle through options
2018-09-01 13:09:37 +01:00
Dominik Picheta
57f73ea268 Fixes #285. 2018-08-28 17:45:28 +01:00
Dominik Picheta
70c9954c41 Fixes regression introduced by 02945e57b5. 2018-08-28 17:20:25 +01:00
Dominik Picheta
2145f266e1 Fix custom task template. 2018-08-28 16:15:02 +01:00
Dominik Picheta
f9c54f7607 Fixes Travis CI run with choosenim.
Squashed commit of the following:

commit 0f8a7e178d
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Aug 28 14:56:03 2018 +0100

    Fixes NIM_PREFIX_DIR affecting testing logs.

commit f566e8bcd1
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Aug 28 14:26:45 2018 +0100

    Attempt to fix travis.
2018-08-28 15:17:32 +01:00
Dominik Picheta
67cf608f55 Build against a pinned version of Nim devel on travis. 2018-08-27 22:31:17 +01:00
Dominik Picheta
9cf83b281f Re-define `task` template in nimscriptapi.nim in prep for #482. 2018-08-27 21:20:43 +01:00
Dominik Picheta
8134427266 Fixes isNil errors for compatibility with latest Nim. 2018-08-27 17:27:09 +01:00
Dominik Picheta
e06ad6e497 Adds .nimble/bin to PATH in travis. 2018-08-23 00:42:48 +01:00
Dominik Picheta
db222bbae1 Improves pre and post hooks. Fixes #524. 2018-08-23 00:33:06 +01:00
Dominik Picheta
2e803ec9cf Fixes #520. 2018-08-21 17:52:24 +01:00