[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-extras-commits
Subject: fedora-updates-system fedora-updates-system.spec, NONE, 1.1 README,
From: Luke Macken (lmacken) <fedora-extras-commits () redhat ! com>
Date: 2006-12-31 9:10:44
Message-ID: 200612310910.kBV9AiSM008352 () cvs-int ! fedora ! redhat ! com
[Download RAW message or body]
Author: lmacken
Update of /cvs/fedora/fedora-updates-system
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8229
Modified Files:
README dev.cfg
Added Files:
fedora-updates-system.spec
Log Message:
- Add GPL headers
- README updates
- Disable transactions in our development environment
- Write mail sending module using TurboMail and some other hackery
- Initialize the updates-stage in our model.py
- Write push code and metadata generation
- Started writing the xmlrpc server code
- Create rpm_fileheader and sha1sum functions in util.py
- Elaborate configuration
- Change logging format
- Start writing a few more testcases
- Wrote comet-based (async httpxmlrequest) Push Console
- Add RPM spec file
--- NEW FILE fedora-updates-system.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig \
import get_python_lib; print get_python_lib()")} %{!?pyver: %define pyver \
%(%{__python} -c "import sys ; print sys.version[:3]")}
Name: fedora-updates-system
Version: 1.0
Release: 1%{?dist}
Summary: TODO
Group: Applications/Internet
License: GPL
URL: http://fedoraproject.org/wiki/Infrastructure/UpdatesSystem
Source0: Fedora-Updates-System-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools
Requires: TurboGears createrepo python-TurboMail
%description
TODO.
%prep
%setup -q -n Fedora-Updates-System-%{version}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/start-updatessystem.py*
%{python_sitelib}/updatessystem
%{python_sitelib}/Fedora_Updates_System-%{version}-py%{pyver}.egg-info
%changelog
* Fri Dec 29 2006 Luke Macken <lmacken@redhat.com> - 1.0-1
- Initial creation
Index: README
===================================================================
RCS file: /cvs/fedora/fedora-updates-system/README,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- README 3 Dec 2006 19:51:51 -0000 1.4
+++ README 31 Dec 2006 09:10:13 -0000 1.5
@@ -3,17 +3,31 @@
http://fedoraproject.org/wiki/Infrastructure/UpdatesSystem
+
Starting the development environment
====================================
- 1. Create the database tables
- tg-admin sql create
+(Note: all of the global settings for this project are in \
./updatessystem/config/app.cfg. +All of the defaults should work fine for the \
development environment.) +
+ 1. Install the necessary software
+
+ # yum install TurboGears python-TurboMail createrepo
+
+ 3. Create the database tables
- 2. Initialize the database
- ./updatessystem/model.py
+ $ tg-admin sql create
+
+ 4. Initialize the database with our distribution settings such as Releases, \
Arches, Multilib, etc. +
+ $ ./updatessystem/model.py
Running the updates system test suite
=====================================
All tests are stored in the 'tests' module in this project, and can be
run by executing the command `nosetests` in top level of the project.
+
+ For more information on Nose unit tests, please see:
+
+ http://somethingaboutorange.com/mrl/projects/nose/
Index: dev.cfg
===================================================================
RCS file: /cvs/fedora/fedora-updates-system/dev.cfg,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dev.cfg 12 Nov 2006 20:07:50 -0000 1.1
+++ dev.cfg 31 Dec 2006 09:10:13 -0000 1.2
@@ -13,7 +13,7 @@
# If you have sqlite, here's a simple default to get you started
# in development
-sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
+sqlobject.dburi="notrans_sqlite://%(current_dir_uri)s/devdata.sqlite"
# if you are using a database or table type without transactions
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic