Giter Club home page Giter Club logo

gitauth's People

Contributors

blackspace avatar leoc avatar mattman avatar onethirtyfive avatar sutto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gitauth's Issues

User with many keys

Some users have many keys. We used to be able to add many keys to an account but we can't any more for some reason. I tried via the CLI.

Perennial....Urgh

Using a relatively fresh install of Ubuntu 9.10, and doing gem install perennial gets me perennial 1.2.5. Fine. But gitauth still doesn't like it. I get the following:

/usr/lib/ruby/gems/1.8/gems/gitauth-0.0.5.2/lib/gitauth.rb:25:in `require': no such file to load -- perennial (LoadError)

Any ideas why this may be?

Cannot create repository with multiple path components

The NAME_RE regexp in GitAuth::Repo is applied to the path value in self.create. The regexp disallows the use of the '/' character, which effectively blocks the creation of repositories with subpaths. Adding in the character appears to allow creation of such repositories just fine.

undefined method `key' for {}:Hash

On a formerly working gitauth installation, I just tried adding a new user:

git@foobar:~$ gitauth add-user bar-baz /tmp/bar-baz.pub 
/usr/lib/ruby/gems/1.8/gems/gitauth-1.0.3/lib/gitauth/user.rb:144:in `add_key': undefined method `key' for {}:Hash (NoMethodError)
    from /usr/lib/ruby/gems/1.8/gems/gitauth-1.0.3/lib/gitauth/user.rb:127:in `add_key_or_file'
    from /usr/lib/ruby/gems/1.8/gems/gitauth-1.0.3/lib/gitauth/user.rb:136:in `add_key_or_file!'
    from /usr/lib/ruby/gems/1.8/gems/gitauth-1.0.3/lib/gitauth/user.rb:42:in `create'
    from /usr/lib/ruby/gems/1.8/gems/gitauth-1.0.3/bin/gitauth:114:in `apply'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:15:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:170:in `execute_command'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:115:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:153:in `processing'
    from /usr/lib/ruby/gems/1.8/gems/gitauth-1.0.3/bin/gitauth:4
    from /usr/bin/gitauth:19:in `load'
    from /usr/bin/gitauth:19

Some information on my system:
ruby --version: ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

git@foobar:~$ gem list

*** LOCAL GEMS ***

bundler (1.2.1)
daemons (1.1.9, 1.1.4)
eventmachine (1.0.0, 0.12.10)
fcgi (0.8.8)
gitauth (1.0.3)
haml (3.1.7, 3.1.2)
i18n (0.6.1, 0.4.2)
jammit (0.6.5)
open4 (1.3.0)
perennial (1.2.5)
Platform (0.4.0)
POpen4 (0.1.4)
rack (1.4.1, 1.3.2, 1.1.1, 1.0.1)
rack-protection (1.2.0)
rack-test (0.6.2)
rake (10.0.0, 0.8.7)
redgreen (1.2.2)
rr (1.0.4)
sinatra (1.3.3, 1.2.6)
thin (1.5.0, 1.2.11)
thoughtbot-shoulda (2.11.1)
tilt (1.3.3, 1.3.2)
yui-compressor (0.9.6)

This is a Debian 6 system using system ruby.

Web display should group by path

I have repositories stored in subpaths for organization. E.g.:

~git/repositories/repo_a.git
~git/repositories/archive/old_repo.git
~git/repositories/archive/old_repo_b.git

The Web view shows the repositories as a flat list, making it hard to navigate through the list. It'd be better if they grouped by path.

Ability to paste-in key

When adding a user, it should be possible to paste a key in instead of having to pass a path to a file.

Allow links back to gitweb

It'd be nice if I could specify the path to my gitweb installation and then the gitauth Web interface added links to each of the repository names that went to the appropriate path for gitweb.

Use Bundler

GitAuth should use bunder where applicable to make it easy to handle
dependencies across systems.

undefined local variable or method `host'

I successfully installed gitauth on my ubuntu server, but when I try and start it I get the following error:

  Confirm Password: 
   [INFO] Starting up web server on 8998
  /usr/lib/ruby/gems/1.8/gems/gitauth-0.0.5.2/lib/gitauth/web_app.rb:80:in `run': undefined local variable or method `host' for GitAuth::WebApp:Class (NameError)
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/loader.rb:99:in `call'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/loader.rb:99:in `attempt_controller_action!'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/loader.rb:42:in `run!'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/loader.rb:26:in `run!'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:90:in `apply'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:15:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:170:in `execute_command'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:115:in `execute'
    from /usr/lib/ruby/gems/1.8/gems/perennial-1.2.5/lib/perennial/application.rb:153:in `processing'
    from /usr/lib/ruby/gems/1.8/gems/gitauth-0.0.5.2/bin/gitauth:4
    from /usr/bin/gitauth:19:in `loa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.