Task: move the openstack-ops folder into its own repository under /openstack github org

Bug #1180552 reported by Anne Gentle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
High
James E. Blair
openstack-manuals
Fix Released
High
Ladquin

Bug Description

We need to move the openstack-ops book and files to its own repository. The related tasks are:

- Ask the openstack-infra team to create a new openstack-ops repository.
- Patch openstack-infra/config for the build job to look into the new repository when building the openstack-ops manual.
- Win.

Ladquin (ladquin)
Changed in openstack-manuals:
assignee: nobody → Laura Alves (ladquin)
James E. Blair (corvus)
Changed in openstack-ci:
assignee: nobody → James E. Blair (corvus)
importance: Undecided → High
status: New → Triaged
Revision history for this message
James E. Blair (corvus) wrote :

Create a new repo using git filter-branch on this directory: https://github.com/openstack/openstack-manuals/tree/master/doc/src/docbkx/openstack-ops

Revision history for this message
James E. Blair (corvus) wrote :

Here's a git repo made by filtering the openstack-ops related files out of openstack-manuals (and some others I thought were handy):

  https://github.com/jeblair/openstack-ops

Let me know if you would like any changes to that. For reference, here are the commands I used:

cat > /tmp/t.sh <<EOF
#!/bin/bash
find . -type f -not -regex './.git/.*' -not -regex './doc/src/docbkx/openstack-ops/.*' -not -wholename ./.gitignore -not -wholename ./LICENSE -not -wholename ./tools/generatedocbook -not -wholename ./tools/generatepot -not -wholename ./tools/validate.py |xargs --delimiter="\n" git rm -q -f
exit 0
EOF

git clone file:///tmp/openstack-manuals /tmpfs/openstack-ops
cd /tmpfs/openstack-ops
git remote rm origin
time git filter-branch --tree-filter "/tmp/t.sh" --prune-empty HEAD
git reset --hard
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
git tag -l | xargs git tag -d
# Find the commit that should be the new initial commit
git filter-branch -f --parent-filter 'test $GIT_COMMIT = 69c118f2cf90cd2a1e4e306f3ff6cbba0bf0ab0d && echo "" || cat' HEAD
git rebase --committer-date-is-author-date $(git log --format='format:%H' | tail -1)
git filter-branch -f --commit-filter 'GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" git commit-tree "$@"' HEAD
git reset --hard
git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
git reflog expire --expire=now --all
git gc --aggressive --prune=now

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/29614

Changed in openstack-ci:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.openstack.org/29614
Committed: http://github.com/openstack-infra/config/commit/5a23798162ec3fece503b5fec131409211f09745
Submitter: Jenkins
Branch: master

commit 5a23798162ec3fece503b5fec131409211f09745
Author: James E. Blair <email address hidden>
Date: Fri May 17 15:37:21 2013 -0700

    Add operations-guide.

    It is a git filter-branch extration from openstack-manuals.

    Addresses bug 1180552.

    Change-Id: I0506b76de8cc1df3139781f02d1eef4669f50a7a

Changed in openstack-ci:
status: In Progress → Fix Released
Revision history for this message
Anne Gentle (annegentle) wrote :

The next step for this bug is to remove the openstack-ops folder from doc/src/docbkx in the openstack-manuals repo.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/32946

Ladquin (ladquin)
Changed in openstack-manuals:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.openstack.org/32946
Committed: http://github.com/openstack-infra/config/commit/d0053822da8187d60c37a26cb5961fbe98119ec7
Submitter: Jenkins
Branch: master

commit d0053822da8187d60c37a26cb5961fbe98119ec7
Author: ladquin <email address hidden>
Date: Thu Jun 13 16:28:37 2013 -0300

    Update Operations guide build jobs

    This should tell Jenkins about the new Operations guide repo.

    Fixes bug 1180552

    Change-Id: Ic6c7812b8fe7418237848ab722a50c97c8e9e978

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/33497

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/33497
Committed: http://github.com/openstack/openstack-manuals/commit/f81343617ab23ec9c4084258970d0430359b0e46
Submitter: Jenkins
Branch: master

commit f81343617ab23ec9c4084258970d0430359b0e46
Author: ladquin <email address hidden>
Date: Tue Jun 18 15:24:08 2013 -0300

    Delete openstack-ops from openstack-manuals repo

    The Operations Guide has its own repository now.
    New repository is https://github.com/openstack/operations-guide

    Fixes bug 1180552

    Change-Id: Ic8595278a91a2b979da54e7c7a61a483f399643b

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.