added support for environ to manage github auth locally #42

Merged
merged 1 commit into from Dec 4, 2013

Projects

None yet

4 participants

@priyatam

Environ simplifies management of env vars as data, I think, and avoids hardcoding basic auth in api clients. I'd like to push this as a best practice.

The following api pulls :gh-username and :gh-password from ~/.lein/profiles.clj or .lein-env map and returns a string username:password, as requiured by tentacles.

(users/me {:auth (environ-auth)}

I also updated the clojure version.

@Raynes Raynes merged commit b312d56 into Raynes:master Dec 4, 2013
@cbilson

Forgot parameter vector.

@cbilson cbilson added a commit to cbilson/tentacles that referenced this pull request Dec 6, 2013
@cbilson cbilson fix compile error in environ-auth
This function doesn't seem to be used here, but maybe is in other
projects?

If not, maybe it should be deleted? I don't really know what it's for, I
just ran into the compile error.

It came from pull request #42, so I guess it's important.
4f00e48
@cbilson cbilson added a commit to cbilson/tentacles that referenced this pull request Dec 6, 2013
@cbilson cbilson fix compile error in environ-auth
This function doesn't seem to be used here, but maybe is in other
projects?

If not, maybe it should be deleted? I don't really know what it's for, I
just ran into the compile error.

It came from pull request #42, so I guess it's important.
92b9a2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment