Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Archive repos with dependences issues #4488

Closed
chmouel opened this issue Oct 24, 2018 · 11 comments
Closed

Archive repos with dependences issues #4488

chmouel opened this issue Oct 24, 2018 · 11 comments

Comments

@chmouel
Copy link
Author

chmouel commented Oct 24, 2018

@piyush-garg @hrishin @sthaha @rupalibehera @kishansagathiya

any chances you go over this list and see if there is anyone used,

@chmouel chmouel changed the title Archive repo with dependence issues Archive repos with dependences issues Oct 24, 2018
@chmouel chmouel self-assigned this Oct 24, 2018
@chmouel
Copy link
Author

chmouel commented Oct 30, 2018

I have archived all those repos,

@chmouel
Copy link
Author

chmouel commented Oct 31, 2018

I am thinking to just have an empty commit there so nobody can actually depends on it,

@chmouel
Copy link
Author

chmouel commented Nov 5, 2018

This is emptied and rearchived, here is the script used :

set -x
set -e

LISTFILE=/tmp/list-of-repo-to-blank-archive.txt

base=/tmp/security
for i in $(cat ${LISTFILE});do
    b=$(basename $i)
    if [[  -e ${base}/${b} ]];then
        continue
    fi

    git clone ${i} ${base}/${b}

    cd ${base}/${b}
    git checkout -b archived-and-blanked
    find . -maxdepth 1 -not -name '.git' -not -name '.' -print0|gxargs -r0 rm -rf
    cat <<EOF>README.md
<aside class="notice">
This repository has been archived and resetted, you can still look at the git history for the old reference.
</aside>
EOF
    git add .
    git commit -a -m "Add information about archived repository"
    git push origin -u archived-and-blanked
    hub pull-request -o  -m "Archive repository and all its files"
done

@chmouel chmouel closed this as completed Nov 5, 2018
@chmouel
Copy link
Author

chmouel commented Nov 6, 2018

Unarchived shootout-docker-maven since used,

@chmouel
Copy link
Author

chmouel commented Nov 6, 2018

archived as well :

https://github.com/fabric8io/kubernetes-model/

@chmouel
Copy link
Author

chmouel commented Nov 6, 2018

@l8nite
Copy link

l8nite commented Nov 14, 2018

See ya later fabric8-console, it was nice knowin' ya.

@fkorotkov
Copy link

@chmouel kubernetes-model is used by kubernetes-client. Should it be still archived? What it the status of kubernetes-model?

@hrishin
Copy link

hrishin commented Dec 4, 2018

@fkorotkov its moved to kubernetes-client repository it self.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants