Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update core.yaml #1086

Merged
merged 1 commit into from
Oct 10, 2018
Merged

Update core.yaml #1086

merged 1 commit into from
Oct 10, 2018

Conversation

kwk
Copy link
Contributor

@kwk kwk commented Oct 10, 2018

About

This description was generated using this script:

#!/bin/bash
set -e
GHORG=${GHORG:-fabric8-services}
GHREPO=${GHREPO:-fabric8-wit}
cat <<EOF
# About
This description was generated using this script:
\`\`\`sh
`cat $0`
\`\`\`
Invoked as:

    `echo GHORG=${GHORG} GHREPO=${GHREPO} $(basename $0) ${@:1}`

# Changes
EOF
git log \
  --pretty="%n**Commit:** https://github.com/${GHORG}/${GHREPO}/commit/%H%n**Author:** %an (%ae)%n**Date:** %aI%n%n%s%n%n%b%n%n----%n" \
  --reverse ${@:1} \
  | sed -E "s/([\s|\(| ])#([0-9]+)/\1${GHORG}\/${GHREPO}#\2/g"

Invoked as:

GHORG=fabric8-services GHREPO=fabric8-wit git-log-pr.sh 1371e8243fb9f68775a50a8eca738193db706164..87bf305c5d73a9cf4df5f37172aaf19d9e7034ea

Changes

Commit: fabric8-services/fabric8-wit@87bf305
Author: Konrad Kleine ([email protected])
Date: 2018-10-10T13:12:53+02:00

Update 105-update-root-area-and-iteration-path-field.sql (fabric8-services/fabric8-wit#2313)

Based on this discussion we first remove the unique name index on the iterations and areas table before we modify the data.

In a previous attempt (fabric8-services/fabric8-wit#2312) I haven't moved the removal of the index enough up.

This should fix the migration issue that was visible here: #1082


# About
This description was generated using this script:
```sh
#!/bin/bash
set -e
GHORG=${GHORG:-fabric8-services}
GHREPO=${GHREPO:-fabric8-wit}
cat <<EOF
# About
This description was generated using this script:
\`\`\`sh
`cat $0`
\`\`\`
Invoked as:

    `echo GHORG=${GHORG} GHREPO=${GHREPO} $(basename $0) ${@:1}`

# Changes
EOF
git log \
  --pretty="%n**Commit:** https://github.com/${GHORG}/${GHREPO}/commit/%H%n**Author:** %an (%ae)%n**Date:** %aI%n%n%s%n%n%b%n%n----%n" \
  --reverse ${@:1} \
  | sed -E "s/([\s|\(| ])#([0-9]+)/\1${GHORG}\/${GHREPO}#\2/g"
```
Invoked as:

    GHORG=fabric8-services GHREPO=fabric8-wit git-log-pr.sh 1371e8243fb9f68775a50a8eca738193db706164..87bf305c5d73a9cf4df5f37172aaf19d9e7034ea

# Changes

**Commit:** fabric8-services/fabric8-wit@87bf305
**Author:** Konrad Kleine ([email protected])
**Date:** 2018-10-10T13:12:53+02:00

Update 105-update-root-area-and-iteration-path-field.sql (fabric8-services/fabric8-wit#2313)

Based on [this discussion](https://chat.openshift.io/developers/pl/6m4cojtiotdoueqot8uww5ybpe) we first remove the unique name index on the `iterations` and `areas` table before we modify the data.

In a previous attempt (fabric8-services/fabric8-wit#2312) I haven't moved the removal of the index enough up.

This should fix the migration issue that was visible here: #1082

----
@kwk kwk self-assigned this Oct 10, 2018
@kwk kwk requested a review from aslakknutsen October 10, 2018 11:15
@kwk
Copy link
Contributor Author

kwk commented Oct 10, 2018

Let's retest, once fabric8-wit master is built: https://ci.centos.org/view/Devtools/job/devtools-fabric8-wit-build-master/584/console

@kwk
Copy link
Contributor Author

kwk commented Oct 10, 2018

[test]

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

Successfully merging this pull request may close these issues.

2 participants