[projects/git-slug: 14/170] Change name of module once more
glen
glen at pld-linux.org
Mon Sep 21 21:39:59 CEST 2015
commit 9dac22e3ce48c8bf1b5117421e333e4a81c2d0ea
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Mon Sep 12 20:57:54 2011 +0100
Change name of module once more
{pldrepo => git_slug}/__init__.py | 0
{pldrepo => git_slug}/gitconst.py | 0
{pldrepo => git_slug}/gitrepo.py | 0
{pldrepo => git_slug}/refsdata.py | 0
post-receive | 6 +++---
setup.py | 4 ++--
slug.py | 6 +++---
7 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/pldrepo/__init__.py b/git_slug/__init__.py
similarity index 100%
rename from pldrepo/__init__.py
rename to git_slug/__init__.py
diff --git a/pldrepo/gitconst.py b/git_slug/gitconst.py
similarity index 100%
rename from pldrepo/gitconst.py
rename to git_slug/gitconst.py
diff --git a/pldrepo/gitrepo.py b/git_slug/gitrepo.py
similarity index 100%
rename from pldrepo/gitrepo.py
rename to git_slug/gitrepo.py
diff --git a/pldrepo/refsdata.py b/git_slug/refsdata.py
similarity index 100%
rename from pldrepo/refsdata.py
rename to git_slug/refsdata.py
diff --git a/post-receive b/post-receive
index d203644..5984826 100755
--- a/post-receive
+++ b/post-receive
@@ -4,9 +4,9 @@ import fcntl
import os
import sys
-from pldrepo.refsdata import RemoteRefsData
-from pldrepo.gitconst import REFREPO, REFFILE
-from pldrepo.gitrepo import GitRepo
+from git_slug.refsdata import RemoteRefsData
+from git_slug.gitconst import REFREPO, REFFILE
+from git_slug.gitrepo import GitRepo
data = sys.stdin.readlines()
diff --git a/setup.py b/setup.py
index 007ee40..ae80625 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,12 @@
from distutils.core import setup
-setup(name='pldrepo',
+setup(name='git-core-slug',
version='0.001',
description='Scripts to interact with PLD git repos',
author='Kacper Kornet',
author_email='draenog at pld-linux.org',
url='https://github.com/draenog/slug',
- packages=['pldrepo'],
+ packages=['git_slug'],
scripts=['slug.py']
)
diff --git a/slug.py b/slug.py
index ee9da41..88d2b86 100755
--- a/slug.py
+++ b/slug.py
@@ -12,9 +12,9 @@ import argparse
import signal
-from pldrepo.gitconst import GITSERVER, GIT_REPO, GIT_REPO_PUSH, REMOTEREFS
-from pldrepo.gitrepo import GitRepo, GitRepoError
-from pldrepo.refsdata import GitRemoteRefsData, RemoteRefsError
+from git_slug.gitconst import GITSERVER, GIT_REPO, GIT_REPO_PUSH, REMOTEREFS
+from git_slug.gitrepo import GitRepo, GitRepoError
+from git_slug.refsdata import GitRemoteRefsData, RemoteRefsError
class ThreadFetch(threading.Thread):
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5
More information about the pld-cvs-commit
mailing list