This repository has been archived by the owner on May 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
00README
47 lines (35 loc) · 1.55 KB
/
00README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Code Janitor
============
Copyright 2010-2013 Linux Foundation. For the copyright license, see
doc/License.
What is the Code Janitor?
-------------------------
The Code Janitor is a utility for finding "objectionable" content in
source code trees before releasing them to the public. These can be
things your developers wrote (like profanity, insults, confessions,
and so on), or things that indicate code that might be inappropriate
to use in the project (like copyright notices or license statements).
Getting Started
---------------
This is a web-based application, using Django as its framework. You
will need Django 1.2 or later. Django is provided in most recent
Linux distributions, or you can get it from
http://www.djangoproject.com/.
Once you have Django working, you can start using it with the
following commands:
make
./code-janitor.py start
This will start the server and point a Web browser at the Code Janitor
main page.
How to Use
----------
The project searches directory trees for files containing certain
keywords. In order to use it, you must first give the app a list of
keywords to search for. Click the "Home" tab (if you're not there
already), and then the link to the admin interface. Log in using the
user you created above, and then add or remove keywords as needed.
Once you have a set of keywords entered, use the "Scan" tab to enter a
path to scan. The application will scan the path, and eventually
direct you to a page of results, including file paths and line
numbers.
All past scans can be called back from the "Results" tab.