---------- Forwarded message ----------
From: tuxdna <tuxdna(a)gmail.com>
Date: Tue, Feb 9, 2010 at 7:28 PM
Subject: Re: Proposal for enhancement
To: Rakesh Pandit <rakesh.pandit(a)gmail.com>
Hi Rakesh,
I have prepared a web interface in django using gach API. I feel that the
entire set of files ( except COPYING and README.devel ) in root directory of
the codebase should be moved to a different folder ( gach/ ) so that the
actual gach API becomes a separate python module.
Parallel to this folder ( in the root folder itself ), will be a web/ folder
which will serve as the codebase for web application code.
So the directory structure will look like this:
.
├── COPYING
├── gach
│ ├── BinaryFilesCheck.py
│ ├── BuildLog.py
│ ├── BuildRootCheck.py
│ ├── Check.py
│ ├── ExcessDocFileCheck.py
│ ├── Filter.py
│ ├── gach
│ ├── GachApplication.py
│ ├── GachBugzillaFeeder.py
│ ├── GachBugzillaReporter.py
│ ├── GachBuilder.py
│ ├── GachFeeder.py
│ ├── GachFileReporter.py
│ ├── GachGenericFeeder.py
│ ├── GachKojiBuilder.py
│ ├── GachPkg.py
│ ├── GachReporter.py
│ ├── GachReviewer.py
│ ├── GachRPMReviewer.py
│ ├── GachSpecReviewer.py
│ ├── GachSrcRPMReviewer.py
│ ├── GachUtils.py
│ ├── __init__.py
│ ├── LogWarningCheck.py
│ ├── Pkg.py
│ ├── ReviewSpec.py
│ ├── RPMCheck.py
│ ├── SampleCheck.py
│ ├── SpecCheck.py
│ ├── Spec.py
│ └── SrcRPMCheck.py
├── gach-driver.sh
├── gach_feeder.cron
├── README.devel
└── web
├── feeder
│ ├── __init__.py
│ ├── management
│ │ ├── commands
│ │ │ ├── gach_process_job.py
│ │ │ └── __init__.py
│ │ └── __init__.py
│ ├── models.py
│ ├── tests.py
│ └── views.py
├── forms.py
├── __init__.py
├── manage.py
├── media
│ ├── ajax.js
│ ├── images
│ │ └── ajax.gif
│ └── style.css
├── settings.py
├── templates
│ ├── base.html
│ ├── feeder.html
│ ├── index.html
│ └── list.html
├── urls.py
└── views.py
8 directories, 55 files
DIFF STAT:
.pydevproject | 3 +-
BinaryFilesCheck.py | 100 ---------------
BuildLog.py | 55 --------
BuildRootCheck.py | 99 ---------------
Check.py | 53 --------
ExcessDocFileCheck.py | 72 -----------
Filter.py | 84 ------------
GachApplication.py | 178 --------------------------
GachBugzillaFeeder.py | 101 ---------------
GachBugzillaReporter.py | 108 ----------------
GachBuilder.py | 36 ------
GachFeeder.py | 33 -----
GachFileReporter.py | 69 ----------
GachGenericFeeder.py | 105 ---------------
GachKojiBuilder.py | 156 -----------------------
GachPkg.py | 113 -----------------
GachRPMReviewer.py | 44 -------
GachReporter.py | 176 --------------------------
GachReviewer.py | 96 --------------
GachSpecReviewer.py | 42 ------
GachSrcRPMReviewer.py | 43 -------
GachUtils.py | 118 -----------------
LogWarningCheck.py | 59 ---------
Pkg.py | 70 ----------
RPMCheck.py | 49 -------
ReviewSpec.py | 218 --------------------------------
SampleCheck.py | 44 -------
Spec.py | 323
-----------------------------------------------
SpecCheck.py | 49 -------
SrcRPMCheck.py | 49 -------
30 files changed, 2 insertions(+), 2743 deletions(-)
Since the patch is large, I am attaching it with this email.
All this is required to keep the actual gach API and the gach web codebase
separate.
What are your suggestions in this regard?
Thanks and regards,
Saleem