Skip to content

install-deps.sh: use mk-build-deps instead of processing control - #8286

Closed
dmick wants to merge 1 commit into
ceph:jewelfrom
dmick:wip-jewel-install-deps
Closed

install-deps.sh: use mk-build-deps instead of processing control#8286
dmick wants to merge 1 commit into
ceph:jewelfrom
dmick:wip-jewel-install-deps

Conversation

@dmick

@dmick dmick commented Mar 24, 2016

Copy link
Copy Markdown
Member

mk-build-deps is designed to handle installing build dependencies;
use that instead, so '|' indications are handled properly.

Signed-off-by: Dan Mick dan.mick@redhat.com

@dmick

dmick commented Mar 24, 2016

Copy link
Copy Markdown
Member Author

probably want to go together with #8285

@dmick dmick assigned ghost Mar 24, 2016
@ghost

ghost commented Mar 24, 2016

Copy link
Copy Markdown

it looks good to me but requires careful testing in all the contexts in which install-deps.sh is used

@dmick

dmick commented Mar 24, 2016

Copy link
Copy Markdown
Member Author

I tested on a jessie VM, primarily, but also verified on trusty desktop (both running script by hand).

@ghost

ghost commented Mar 24, 2016

Copy link
Copy Markdown

it would be good to push that to the gitbuilders since they use install-deps.sh as well

liewegas pushed a commit that referenced this pull request Mar 25, 2016
Fixes: #8286
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
@ghost ghost reopened this Mar 25, 2016
smithfarm added a commit to SUSE/ceph that referenced this pull request Mar 25, 2016
Since the "Fixes: #..." line is interpreted by GitHub as referring to a
pull request, yet the intention is for it to refer to the tracker issue,
change our instructions to use the full tracker issue URL.

Now that github pull request numbers are in the 8000s, there are cases when
a PR is wrongly closed by a "Fixes: #..." line in a commit message. See

ceph#8286 (comment)

for one such case.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
@dmick

dmick commented Mar 28, 2016

Copy link
Copy Markdown
Member Author

The gitbuilders should use the copy from the ceph repo, no?....

@ghost

ghost commented Mar 28, 2016

Copy link
Copy Markdown

@dmick I don't remember how the gitbuilder obtain install-deps.sh but it would make sense if they used the one found in the branch to be built

@dmick

dmick commented Apr 1, 2016

Copy link
Copy Markdown
Member Author

Pretty sure they do. Anything else we need for this PR?

@dmick

dmick commented Apr 5, 2016

Copy link
Copy Markdown
Member Author

@dachary ping

@ghost

ghost commented Apr 5, 2016

Copy link
Copy Markdown

@dmick is there a need to merge this in jewel ? If not and since it's so easy to get this slightly wrong and have it bug us a few times, could we wait until jewel is cut ? If there is a motive it looks good to merge, just being cautious :-)

@dmick

dmick commented Apr 6, 2016

Copy link
Copy Markdown
Member Author

I don't guess I care much. In my mind the bigger release risk now is the jenkins builds, and they're not affected.

@ghost

ghost commented May 3, 2016

Copy link
Copy Markdown

please test this

@ghost

ghost commented May 3, 2016

Copy link
Copy Markdown

test this please

@dmick

dmick commented May 16, 2016

Copy link
Copy Markdown
Member Author

ping

@dmick

dmick commented Jun 1, 2016

Copy link
Copy Markdown
Member Author

@dachary do we need to do anything else with this?

@ghost

ghost commented Jun 2, 2016

Copy link
Copy Markdown

test this please

@ghost ghost removed their assignment Jun 2, 2016
@ghost

ghost commented Jun 2, 2016

Copy link
Copy Markdown

I don't want to stall this PR, someone else can take over.

@ghost

ghost commented Jun 2, 2016

Copy link
Copy Markdown

test this please

@ErwanAliasr1

Copy link
Copy Markdown
Contributor

You are missing the equivs package.
"mk-build-deps: You must have equivs installed to use this program."

@dmick

dmick commented Jun 2, 2016

Copy link
Copy Markdown
Member Author

@ErwanAliasr1: I'm confused. The changes include installing devscripts, which depends on equivs. Did you see that error message somewhere? Answer: yes, in the failed check build.

I'm still confused.

@ErwanAliasr1

Copy link
Copy Markdown
Contributor

@dmick I saw that message from the build spawn by your PR.

@ErwanAliasr1

Copy link
Copy Markdown
Contributor

@dmick

dmick commented Jun 3, 2016

Copy link
Copy Markdown
Member Author

retest this please

@dmick

dmick commented Jun 3, 2016

Copy link
Copy Markdown
Member Author

Hm, well it's gonna pass this time because it's not running the test on an apt machine :(

@dmick
dmick force-pushed the wip-jewel-install-deps branch from 88ebfcc to 636622d Compare June 3, 2016 22:40
@dmick

dmick commented Jun 6, 2016

Copy link
Copy Markdown
Member Author

So it still has this problem when it runs on a trusty machine, and I don't know why. equivs is a dependency of devscripts on trusty; it should be installed. O_o

@dmick
dmick force-pushed the wip-jewel-install-deps branch from 636622d to db8c31e Compare June 6, 2016 21:20
@dmick

dmick commented Jun 6, 2016

Copy link
Copy Markdown
Member Author

equivs was a "Suggests:", even though it shows up after installation as a "Depends:". Whatever. Added it to be explicitly installed, and that made it work.

Comment thread install-deps.sh Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm $control as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@dmick
dmick force-pushed the wip-jewel-install-deps branch from db8c31e to c1f381c Compare June 6, 2016 22:41
Comment thread install-deps.sh Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe use --remove here too? not sure it matters really, since it'll overwrite an existing file just fine

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment indicates I once had at least contemplated --remove. I wonder why I removed it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated after retest

@jdurgin

jdurgin commented Jun 6, 2016

Copy link
Copy Markdown
Member

pushed to wip-dmick-install-deps (on top of master) to try this out on the gitbuilders

mk-build-deps is designed to handle installing build dependencies;
use that instead, so '|' indications are handled properly.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
@dmick
dmick force-pushed the wip-jewel-install-deps branch from c1f381c to bdcd6f1 Compare June 7, 2016 00:03
@ErwanAliasr1

Copy link
Copy Markdown
Contributor

Looks good to me

@dmick

dmick commented Jun 21, 2016

Copy link
Copy Markdown
Member Author

@jdurgin: anything else you think we should do?

@jdurgin

jdurgin commented Jun 21, 2016

Copy link
Copy Markdown
Member

@dmick looks good to me, merged manually to master cherry-picked to jewel

@jdurgin jdurgin closed this Jun 21, 2016
@dmick
dmick deleted the wip-jewel-install-deps branch February 7, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants