summaryrefslogtreecommitdiff
path: root/git-pbs
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:50:37 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:50:37 -0500
commitf65c477e42f46a3e22b5fbc5da790f9561483770 (patch)
tree216acb4c2d0fef7720db927ee1c7c1bd8012f022 /git-pbs
parent99d6b1d0f1f88bf30b75243225cd461afb565f6b (diff)
clean up
Diffstat (limited to 'git-pbs')
-rwxr-xr-xgit-pbs44
1 files changed, 0 insertions, 44 deletions
diff --git a/git-pbs b/git-pbs
deleted file mode 100755
index b815863..0000000
--- a/git-pbs
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-_pkg=$1
-
-mkdir -p $_pkg
-pushd $_pkg
-
-
-if [ ! -d .git ]; then
-# Start a git repo for the package
-# Add the remote origin
-# Pull the package branch onto an unmodified branch
- git init
- git remote add arch git://projects.archlinux.org/svntogit/packages.git
-
-# Export the repository
- touch .git/git-daemon-export-ok
-
-# Pass the -b flag to checkout to create the branches
- extra="-b"
-fi
-
-git checkout ${extra} upstream
-git pull arch packages/$_pkg
-
-# Move PKGBUILD and files to the basedir
-# Remove everything else from the repo
-git checkout ${extra} master
-
-# This produces a lot of merging conflicts
-git merge upstream
-
-# This apparently solves them
-git mv trunk/* .
-git rm -rf repos
-
-# Remove the actual files
-rm -rf trunk repos
-
-# Commit everything
-git commit -a -m "Converted to PBS"
-
-# Return to the repo
-popd >/dev/null