Coder Social home page Coder Social logo

luna's Introduction

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

luna's People

Contributors

btd avatar timothyklim avatar

Watchers

 avatar  avatar

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.