[projects/git-slug: 9/170] Create pldrepo module and move files there

glen glen at pld-linux.org
Mon Sep 21 21:39:34 CEST 2015


commit ce389cdd8ea2c17e70e9c915eb7313f6395125a3
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Sep 12 07:14:40 2011 +0100

    Create pldrepo module and move files there

 gitconst.py => pldrepo/gitconst.py | 0
 gitrepo.py => pldrepo/gitrepo.py   | 0
 refsdata.py => pldrepo/refsdata.py | 0
 post-receive                       | 6 +++---
 slug.py                            | 6 +++---
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gitconst.py b/pldrepo/gitconst.py
similarity index 100%
rename from gitconst.py
rename to pldrepo/gitconst.py
diff --git a/gitrepo.py b/pldrepo/gitrepo.py
similarity index 100%
rename from gitrepo.py
rename to pldrepo/gitrepo.py
diff --git a/refsdata.py b/pldrepo/refsdata.py
similarity index 100%
rename from refsdata.py
rename to pldrepo/refsdata.py
diff --git a/post-receive b/post-receive
index 2d1d2df..d203644 100755
--- a/post-receive
+++ b/post-receive
@@ -4,9 +4,9 @@ import fcntl
 import os
 import sys
 
-from refsdata import RemoteRefsData
-from gitconst import REFREPO, REFFILE
-from gitrepo import GitRepo
+from pldrepo.refsdata import RemoteRefsData
+from pldrepo.gitconst import REFREPO, REFFILE
+from pldrepo.gitrepo import GitRepo
 
 
 data = sys.stdin.readlines()
diff --git a/slug.py b/slug.py
index 32c4e46..81b7b0e 100755
--- a/slug.py
+++ b/slug.py
@@ -12,9 +12,9 @@ import argparse
 
 import signal
 
-from gitconst import GITSERVER, GIT_REPO, GIT_REPO_PUSH, REMOTEREFS
-from gitrepo import GitRepo, GitRepoError
-from refsdata import GitRemoteRefsData, RemoteRefsError
+from pldrepo.gitconst import GITSERVER, GIT_REPO, GIT_REPO_PUSH, REMOTEREFS
+from pldrepo.gitrepo import GitRepo, GitRepoError
+from pldrepo.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