Skip to content

Commit

Permalink
added licence and readme ahead of open sourceing
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Sep 11, 2009
1 parent 0f47913 commit f40586f
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 4 deletions.
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2009 Gareth Rushgrove

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
39 changes: 39 additions & 0 deletions README.textile
@@ -0,0 +1,39 @@
h2. Details

Appengine Bugs is the code behind the "GitBug":http://gitbug.appspot.com site, released as Open Source so people can run a private instance easily. It's purposefully simple rather than feature packed but you can always add another feature if you like.

h2. Installation

Two small changes are required if you want to get this up and running

First change the application name (currently gitbug) in the app.yml file. Appengine ensures these are unique and match the application name you registered through the console.

Next change the SYSTEM_URL constant in the settings.py file to the URL you're hosting it from. This is at the moment only used to make sure all links in feeds point to the right place.

h2. Credits

Gareth Rushgrove ("morethanseven.net":http://morethanseven.net)

h2. License

The MIT License

Copyright (c) 2009 Gareth Rushgrove

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
2 changes: 1 addition & 1 deletion index.yaml
Expand Up @@ -33,7 +33,7 @@ indexes:
- name: created_date
direction: desc

# Used 9 times in query history.
# Used 13 times in query history.
- kind: Issue
properties:
- name: project
Expand Down
4 changes: 2 additions & 2 deletions main.py
Expand Up @@ -71,7 +71,7 @@ def get(self, slug):
if output is None:
try:
project = Project.all().filter('slug =', slug).fetch(1)[0]
issues = Issue.all().filter('project =', project).order('fixed').order('created_date')
issues = Issue.all().filter('project =', project)
except IndexError:
self.render_404()
return
Expand Down Expand Up @@ -373,7 +373,7 @@ def get(self, project_slug, issue_slug):
if output is None:
try:
issue = Issue.all().filter('internal_url =', "/%s/%s/" % (project_slug, issue_slug)).fetch(1)[0]
issues = Issue.all().filter('project =', issue.project).filter('name !=', issue.name).filter('fixed =', False).order('name').order('-created_date').fetch(10)
issues = Issue.all().filter('project =', issue.project).filter('fixed =', False).fetch(10)
except IndexError:
self.render_404()
return
Expand Down
2 changes: 1 addition & 1 deletion utils/console.py
Expand Up @@ -11,7 +11,7 @@
sys.path.insert(0, app_path)

# assuming appengine isn't already on your path you'll need to add it
#sys.path.append("/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine")
sys.path.append("/Applications/Personal/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine")

from google.appengine.ext.remote_api import remote_api_stub
from google.appengine.ext import db
Expand Down

0 comments on commit f40586f

Please sign in to comment.