aboutsummaryrefslogblamecommitdiffstats
path: root/goinit
blob: dc5479cdd63d985de7dadf0cb9d0026360e323ec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                      
#!/bin/sh
set -eux

if [ -d .osc ] ; then
    exit 0
fi

# We actually want to ignore it (for now?)
echo '/.osc/' >>.git/info/exclude

mkdir -p .osc
echo 'https://api.opensuse.org' >.osc/_apiurl
basename "$(pwd)" >.osc/_package
echo '1.0' >.osc/_osclib_version
echo 'openSUSE:Factory' >.osc/_project
echo "$(git remote get-url $(git remote|head -n1))#factory" >.osc/_scm