Comments (8)
Indeed, it was helpful immediately to unblock my local testing!
I added some thoughts on caching requests as a potential solution for local dev/testing (and faster neil performance) here: #127 (comment) i can port this over to a new discussion/issue if there's interest, feel free to ping me!
from neil.
The rate limit seems to be a common pitfall for new contributors to this project so we may want to add something to the README as well. Maybe some better error handling for the rate-limiting HTTP response too.
Is it possible to check whether we've hit the rate limit directly in the tests, and stop with a good error message?
from neil.
This is how I use GITHUB_TOKEN in gh-release-artifact: https://github.com/borkdude/gh-release-artifact/blob/cf082df46a648178d1904e9cbcb787d8136a35c6/src/borkdude/gh_release_artifact.clj#L19, if anyone wants to put together a PR.
from neil.
@borkdude: It seems like it could lead to confusion if we just start using whatever GITHUB_TOKEN
is defined without documenting that as part of the public neil
behavior. I expect using a GitHub token would be gated by a --dev
mode or simple prefixing like I did in my example (BABASHKA_NEIL_DEV_GITHUB_TOKEN
).
Otherwise if we do want people to be able to use their own GITHUB_TOKEN
for non-dev neil
usage, we can document that. I just want to make sure we aren't doing this implicitly.
What do you think?
from neil.
Sounds good!
from neil.
We merged @rads' proposed solution in #110. BABASHKA_NEIL_DEV_GITHUB_TOKEN
is now used if set.
Though I don't think this behavior is documented anywhere.
Cc @russmatney
from neil.
Thanks for taking care of this! Since this issue is specific to the dev experience, this is now resolved from my point of view.
If we want to expand the scope here to improve the experience for end users too, letβs create a new issue for that.
from neil.
Sounds good π
I'm happy with the current solution as-is.
I suspect that for end users, many won't appreciate extra mandatory setup.
from neil.
Related Issues (20)
- `neil new` crashes on certain forms of invalid input HOT 2
- Add `neil add tasks` too. HOT 1
- `neil new` puts `:neil :project :name ,,,` indented behind `:aliases :build :nsdefault` HOT 6
- Make `:version` consistent over `search` and `dep add` commands HOT 1
- neil does not find a newer version of a library that antq does HOT 2
- `neil new`: Support Git repos without tags
- add support to add files which describe "development" environments HOT 2
- Error on dep update HOT 1
- Unable to install `com.cnuernber/ham-fisted` with Neil 0.1.59 HOT 2
- `neil dep upgrade` should update unstable versions HOT 2
- Error when running `neil --version` on versions `>=0.1.58` HOT 1
- Suggestion: `neil dep local <lib> <path>` HOT 2
- neil dep upgrade drops dep :exclusions HOT 2
- Neil completely crashes on fresh install HOT 24
- `neil dep add` exits with code 0 on both failure and success HOT 1
- Neil new behaviour different for windows HOT 4
- NPE on `neil dep upgrade ` HOT 5
- suggestion: support `neil add nrepl -with-cider` HOT 3
- Documentation: add git as a requirement HOT 1
- Feature request: a flag that does what `dep search` already does, but works for multiple artifacts and outputs a string suitable for `-Sdeps` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neil.