From 0aad84a40a75c40f7183f7c39d4be4f49ba1319a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Tue, 14 Feb 2006 18:31:01 +0000 Subject: [PATCH] * if you want to make the email addresses unparseable or remove them, feel free to do that, but don't remove the goddamn author names please --- pisi/__init__.py | 1 + pisi/actionsapi/__init__.py | 1 + pisi/actionsapi/shelltools.py | 3 +-- pisi/api.py | 3 +++ pisi/atomicoperations.py | 2 ++ pisi/build.py | 1 + pisi/cli/__init__.py | 1 + pisi/cli/colors.py | 1 + pisi/cli/commands.py | 1 + pisi/cli/pisicli.py | 1 + pisi/comariface.py | 3 +++ pisi/component.py | 2 ++ pisi/config.py | 3 +++ pisi/configfile.py | 2 +- pisi/constants.py | 2 ++ pisi/context.py | 3 +++ pisi/dependency.py | 2 ++ pisi/fetcher.py | 1 + pisi/file.py | 2 ++ pisi/files.py | 2 ++ pisi/index.py | 3 +++ pisi/installdb.py | 2 ++ pisi/lockeddbshelve.py | 3 +++ pisi/metadata.py | 3 +++ pisi/operations.py | 2 ++ pisi/package.py | 2 ++ pisi/packagedb.py | 3 +++ pisi/pxml/__init__.py | 1 + pisi/pxml/autoxml.py | 7 +++++++ pisi/pxml/xmlext.py | 2 ++ pisi/pxml/xmlextcdom.py | 5 +++++ pisi/pxml/xmlextmdom.py | 4 ++++ pisi/pxml/xmlextpiks.py | 4 ++++ pisi/pxml/xmlfile.py | 2 ++ pisi/pxml/xmlfilecdom.py | 4 ++++ pisi/pxml/xmlfilemdom.py | 4 ++++ pisi/pxml/xmlfilepiks.py | 4 ++++ pisi/repodb.py | 3 +++ pisi/search/__init__.py | 3 +++ pisi/search/invertedindex.py | 2 ++ pisi/search/preprocess.py | 1 + pisi/search/tokenize.py | 2 ++ pisi/sourcearchive.py | 3 +++ pisi/sourcedb.py | 2 ++ pisi/specfile.py | 3 +++ pisi/ui.py | 3 +++ pisi/util.py | 5 +++++ pisi/version.py | 5 ++++- 48 files changed, 120 insertions(+), 4 deletions(-) diff --git a/pisi/__init__.py b/pisi/__init__.py index 932636b2..c165ea8e 100644 --- a/pisi/__init__.py +++ b/pisi/__init__.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# # PiSi version diff --git a/pisi/actionsapi/__init__.py b/pisi/actionsapi/__init__.py index f8e75887..eeba55a7 100644 --- a/pisi/actionsapi/__init__.py +++ b/pisi/actionsapi/__init__.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# import pisi diff --git a/pisi/actionsapi/shelltools.py b/pisi/actionsapi/shelltools.py index efc08ee4..2772809e 100644 --- a/pisi/actionsapi/shelltools.py +++ b/pisi/actionsapi/shelltools.py @@ -14,7 +14,6 @@ import os import glob import shutil -import string import pwd import grp @@ -200,5 +199,5 @@ def dirName(sourceFile): return os.path.dirname(sourceFile) def system(command): - command = string.join(string.split(command)) + command = command.replace(" ", "") run_batch(command, True) diff --git a/pisi/api.py b/pisi/api.py index c819668c..117a3971 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin """Top level PISI interfaces. a facade to the entire PISI system""" diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index b042f77f..c43dc87e 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -9,6 +9,8 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural "Atomic package operations such as install/remove/upgrade" diff --git a/pisi/build.py b/pisi/build.py index bbedc675..4f9b6b14 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -11,6 +11,7 @@ # # package bulding stuff +# maintainer: baris and meren # python standard library import os diff --git a/pisi/cli/__init__.py b/pisi/cli/__init__.py index 1ca1e408..ea36fffa 100644 --- a/pisi/cli/__init__.py +++ b/pisi/cli/__init__.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# import sys import locale diff --git a/pisi/cli/colors.py b/pisi/cli/colors.py index dba70b68..12fd4911 100644 --- a/pisi/cli/colors.py +++ b/pisi/cli/colors.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# # Colors module provides some color codes for console output. diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index ae71e896..93c2e7fe 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# import sys from optparse import OptionParser diff --git a/pisi/cli/pisicli.py b/pisi/cli/pisicli.py index 39a5b0c8..b687fce6 100644 --- a/pisi/cli/pisicli.py +++ b/pisi/cli/pisicli.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# import sys from optparse import OptionParser diff --git a/pisi/comariface.py b/pisi/comariface.py index a796278c..d2845c6d 100644 --- a/pisi/comariface.py +++ b/pisi/comariface.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Baris Metin +# Gurer Ozen import comar diff --git a/pisi/component.py b/pisi/component.py index 66330280..fb36d07f 100644 --- a/pisi/component.py +++ b/pisi/component.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural import gettext __trans = gettext.translation('pisi', fallback=True) diff --git a/pisi/config.py b/pisi/config.py index 33840b4d..1f49127e 100644 --- a/pisi/config.py +++ b/pisi/config.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Baris Metin +# Eray Ozkural """ PISI Configuration module is used for gathering and providing diff --git a/pisi/configfile.py b/pisi/configfile.py index 95640340..4bc498ac 100644 --- a/pisi/configfile.py +++ b/pisi/configfile.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- conding: utf-8 -*- # # Copyright (C) 2005, TUBITAK/UEKAE # diff --git a/pisi/constants.py b/pisi/constants.py index 1c4ef2cf..95e06748 100644 --- a/pisi/constants.py +++ b/pisi/constants.py @@ -14,6 +14,8 @@ # If you have a "magic" constant value this is where it should be # defined. +# Author: Baris Metin + # global variables here import pisi.constants diff --git a/pisi/dependency.py b/pisi/dependency.py index e1878464..f95f214f 100644 --- a/pisi/dependency.py +++ b/pisi/dependency.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural """dependency analyzer""" diff --git a/pisi/fetcher.py b/pisi/fetcher.py index 605b06e1..54023fcc 100644 --- a/pisi/fetcher.py +++ b/pisi/fetcher.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# """Yet another Pisi module for fetching files from various sources. Of course, this is not limited to just fetching source files. We fetch diff --git a/pisi/file.py b/pisi/file.py index 5cf0b136..996c354f 100644 --- a/pisi/file.py +++ b/pisi/file.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural """ generic file abstraction that allows us to use URIs for everything diff --git a/pisi/files.py b/pisi/files.py index 970ccecf..4c4cd447 100644 --- a/pisi/files.py +++ b/pisi/files.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural '''Files module provides access to files.xml. files.xml is generated during the build process of a package and used in installation.''' diff --git a/pisi/index.py b/pisi/index.py index 1f8665b1..3b0edc02 100644 --- a/pisi/index.py +++ b/pisi/index.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural + """PISI source/package index""" diff --git a/pisi/installdb.py b/pisi/installdb.py index 0aed82bd..3466ee30 100644 --- a/pisi/installdb.py +++ b/pisi/installdb.py @@ -11,6 +11,8 @@ # # # installation database +# +# Author: Eray Ozkural # System import os diff --git a/pisi/lockeddbshelve.py b/pisi/lockeddbshelve.py index 6264948c..cba82d49 100644 --- a/pisi/lockeddbshelve.py +++ b/pisi/lockeddbshelve.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# +# Authors: Eray Ozkural import bsddb3.db as db import bsddb3.dbobj as dbobj diff --git a/pisi/metadata.py b/pisi/metadata.py index 34e9c396..30935855 100644 --- a/pisi/metadata.py +++ b/pisi/metadata.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin "Package Operations: install/remove/upgrade" diff --git a/pisi/package.py b/pisi/package.py index 576a0023..a1101e0f 100644 --- a/pisi/package.py +++ b/pisi/package.py @@ -13,6 +13,8 @@ # package abstraction # provides methods to add/remove files, extract control files +# maintainer: baris and meren + from os.path import join, exists import gettext diff --git a/pisi/packagedb.py b/pisi/packagedb.py index 7b3a53ec..85d8d997 100644 --- a/pisi/packagedb.py +++ b/pisi/packagedb.py @@ -13,6 +13,9 @@ # package database # interface for update/query to local package repository +# Authors: Eray Ozkural +# Baris Metin + # we basically store everything in PackageInfo class # yes, we are cheap diff --git a/pisi/pxml/__init__.py b/pisi/pxml/__init__.py index 9b500dea..67d1fd25 100644 --- a/pisi/pxml/__init__.py +++ b/pisi/pxml/__init__.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# import sys import locale diff --git a/pisi/pxml/autoxml.py b/pisi/pxml/autoxml.py index 7236a7ec..e90e8323 100644 --- a/pisi/pxml/autoxml.py +++ b/pisi/pxml/autoxml.py @@ -8,6 +8,13 @@ # any later version. # # Please read the COPYING file. +# +# +# Authors: Eray Ozkural +# Gurer Ozen +# Bahadir Kandemir +# Baris Metin + """ autoxml is a metaclass for automatic XML translation, using diff --git a/pisi/pxml/xmlext.py b/pisi/pxml/xmlext.py index dd3412d7..52c25dcb 100644 --- a/pisi/pxml/xmlext.py +++ b/pisi/pxml/xmlext.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural try: zimbabwe # comment out to disable piks diff --git a/pisi/pxml/xmlextcdom.py b/pisi/pxml/xmlextcdom.py index eb23ff21..f889e52c 100644 --- a/pisi/pxml/xmlextcdom.py +++ b/pisi/pxml/xmlextcdom.py @@ -8,6 +8,11 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin +# Faik Uygur """ xmlext is a helper module for accessing XML files using diff --git a/pisi/pxml/xmlextmdom.py b/pisi/pxml/xmlextmdom.py index 3ef55c62..37d10cca 100644 --- a/pisi/pxml/xmlextmdom.py +++ b/pisi/pxml/xmlextmdom.py @@ -8,6 +8,10 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin """ xmlext is a helper module for accessing XML files using diff --git a/pisi/pxml/xmlextpiks.py b/pisi/pxml/xmlextpiks.py index f5e33ff3..c4eca52e 100644 --- a/pisi/pxml/xmlextpiks.py +++ b/pisi/pxml/xmlextpiks.py @@ -8,6 +8,10 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin """ some helper functions for high-level access to XML structures diff --git a/pisi/pxml/xmlfile.py b/pisi/pxml/xmlfile.py index 383b0dc8..073bb725 100644 --- a/pisi/pxml/xmlfile.py +++ b/pisi/pxml/xmlfile.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural import pisi.context diff --git a/pisi/pxml/xmlfilecdom.py b/pisi/pxml/xmlfilecdom.py index 9f52dfe4..567d2fd0 100644 --- a/pisi/pxml/xmlfilecdom.py +++ b/pisi/pxml/xmlfilecdom.py @@ -8,6 +8,10 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin """ XmlFile class further abstracts a dom object using the diff --git a/pisi/pxml/xmlfilemdom.py b/pisi/pxml/xmlfilemdom.py index d8ee6357..b1939a5b 100644 --- a/pisi/pxml/xmlfilemdom.py +++ b/pisi/pxml/xmlfilemdom.py @@ -8,6 +8,10 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin """ XmlFile class further abstracts a dom object using the diff --git a/pisi/pxml/xmlfilepiks.py b/pisi/pxml/xmlfilepiks.py index e8013ea3..9333e948 100644 --- a/pisi/pxml/xmlfilepiks.py +++ b/pisi/pxml/xmlfilepiks.py @@ -8,6 +8,10 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Gurer Ozen +# Baris Metin import pisi import pisi.context as ctx diff --git a/pisi/search/invertedindex.py b/pisi/search/invertedindex.py index 562f3d9a..4f8d4657 100644 --- a/pisi/search/invertedindex.py +++ b/pisi/search/invertedindex.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural import types diff --git a/pisi/search/preprocess.py b/pisi/search/preprocess.py index 95a45191..df55e999 100644 --- a/pisi/search/preprocess.py +++ b/pisi/search/preprocess.py @@ -8,6 +8,7 @@ # any later version. # # Please read the COPYING file. +# import tokenize diff --git a/pisi/search/tokenize.py b/pisi/search/tokenize.py index fc44168f..0128f115 100644 --- a/pisi/search/tokenize.py +++ b/pisi/search/tokenize.py @@ -9,6 +9,8 @@ # # Please read the COPYING file. # +# Author: Eray Ozkural +# # rev 1: very simple tokenization, for testing import string diff --git a/pisi/sourcearchive.py b/pisi/sourcearchive.py index 74501357..599bfe22 100644 --- a/pisi/sourcearchive.py +++ b/pisi/sourcearchive.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Baris Metin +# Eray Ozkural # python standard library diff --git a/pisi/sourcedb.py b/pisi/sourcedb.py index 6663a968..d9a85e6d 100644 --- a/pisi/sourcedb.py +++ b/pisi/sourcedb.py @@ -8,6 +8,8 @@ # any later version. # # Please read the COPYING file. +# +# Author: Eray Ozkural """ package source database diff --git a/pisi/specfile.py b/pisi/specfile.py index 0d3bcf22..fc699b64 100644 --- a/pisi/specfile.py +++ b/pisi/specfile.py @@ -8,6 +8,9 @@ # any later version. # # Please read the COPYING file. +# +# Authors: Eray Ozkural +# Baris Metin """ Specfile module is our handler for PSPEC files. PSPEC (PISI SPEC) diff --git a/pisi/ui.py b/pisi/ui.py index f47b2350..cc548ac1 100644 --- a/pisi/ui.py +++ b/pisi/ui.py @@ -10,6 +10,9 @@ # Please read the COPYING file. # # generic user interface +# +# Authors: Eray Ozkural +# A. Murat Eren import sys diff --git a/pisi/util.py b/pisi/util.py index 76bb4050..efddea3f 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -12,6 +12,11 @@ # misc. utility functions, including process and file utils +# Authors: Eray Ozkural +# Baris Metin +# S. Caglar Onur +# A. Murat Eren + # standard python modules import os import re diff --git a/pisi/version.py b/pisi/version.py index d26045ae..71330c1a 100644 --- a/pisi/version.py +++ b/pisi/version.py @@ -8,7 +8,10 @@ # any later version. # # Please read the COPYING file. - +# +# Authors: Eray Ozkural +# Baris Metin +# # History: # Eray wrote the first version # Baris added support for the fancy keywords and