Skip to content

timothyklim/luna

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING Ssh keys 18 Dec 2011

Ssh keys are splited on two collections. To migrate from prev versions move all keys for users to collection ssh_keys_user and ssh keys for repos move to ssh_keys_repo.

Using mongo client:

use grt;
db.createCollection("ssh_keys_repo");
db.createCollection("ssh_keys_user");
db.ssh_keys.find({ownerRepoId:{$exists: false}}).forEach( function(x){db.ssh_keys_user.insert(x)} );
db.ssh_keys.find({ownerRepoId:{$exists: true}}).forEach( function(x){db.ssh_keys_repo.insert({_id:x._id, rawValue:x.rawValue, ownerId:x.ownerRepoId})} );
db.ssh_keys.drop();

Luna

If you want to have something like github but on your own server (and you have no 5000$) you can use this application.

What it can

  • Manage users. User registration, collaborators on repos
  • Manage ssh public keys. You can add any number of keys for yourself or only for one repo
  • Repositories. Can be public or private. You can add collaborator to repository.
  • Forking. You can fork any visible for you repository and make pull requests for owner
  • Ssh read+write access, git protocol anonimous read access

Todo

  • SubGit integration (tmate guys said that help)
  • Smart HTTP protocol support
  • One side notification (currently only mail, also possible xmpp, POST req and many others)
  • Mailing lists for pull requests discussion (patch will be attached and url in letters)

Installation

Assume you already have a server with any java web server (i use jetty) and mongodb 2.0 (yes as storage it uses mongo).

Source building

$ git clone git://github.com/btd/gct.git
$ cd gct
$ ./sbt package-war

Now use ./target/scala-2.9.1.final/luna-tool_2.9.1-{VERSION}.war.

License

Copyright 2011 Bardadym Denis

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Packages

No packages published

Languages

  • JavaScript 72.7%
  • Scala 27.3%