Monday, 2017-04-24

*** Dobroslaw has joined #openstack-rpm-packaging04:18
*** Dobroslaw has quit IRC04:21
*** Dobroslaw has joined #openstack-rpm-packaging04:22
*** cshastri has joined #openstack-rpm-packaging05:41
*** vnogin has joined #openstack-rpm-packaging06:46
*** cousin_luigi has joined #openstack-rpm-packaging06:54
cousin_luigiGreetings.06:54
*** Dobroslaw has quit IRC07:12
*** Dobroslaw has joined #openstack-rpm-packaging07:13
*** leanderthal|afk is now known as leanderthal07:15
*** pcaruana has joined #openstack-rpm-packaging07:24
*** vnogin has quit IRC07:30
*** jpena|off is now known as jpena07:44
*** itxaka has joined #openstack-rpm-packaging07:50
*** vnogin has joined #openstack-rpm-packaging07:56
*** percevalbot has joined #openstack-rpm-packaging07:57
*** oanson has quit IRC08:23
*** oanson has joined #openstack-rpm-packaging08:24
toabctljpena, dirk IgorYozhikov can we merge https://review.openstack.org/#/c/457669/ please?09:12
openstackgerritThomas Bechtold proposed openstack/rpm-packaging master: Update oslo.middleware to 3.26.0  https://review.openstack.org/45737209:18
*** itxaka has quit IRC09:18
openstackgerritMerged openstack/rpm-packaging-tools master: Fix version detection  https://review.openstack.org/45833509:19
*** itxaka has joined #openstack-rpm-packaging09:37
*** apevec has joined #openstack-rpm-packaging10:02
*** vnogin has quit IRC10:31
*** leanderthal is now known as leanderthal|afk10:32
*** vnogin has joined #openstack-rpm-packaging10:36
*** oanson has quit IRC10:37
*** oanson has joined #openstack-rpm-packaging10:37
*** aspiers has joined #openstack-rpm-packaging10:51
*** oanson has quit IRC11:28
*** oanson has joined #openstack-rpm-packaging11:29
cousin_luigitoabctl: Knock knock.11:52
*** makowals_ has joined #openstack-rpm-packaging11:52
*** makowals has quit IRC11:53
*** makowals_ has quit IRC11:57
*** makowals has joined #openstack-rpm-packaging11:59
toabctlcousin_luigi, ?12:08
cousin_luigitoabctl: Hi, someone told me to ask you about python packages in the OBS openstack projects.12:25
cousin_luigitoabctl: Is there any plans to single-spec them? If not, would small changes to make them compatible with single spec packages be accepted?12:26
toabctlcousin_luigi, singlespec == the openSUSE singlespec approach?12:34
aspierstoabctl, dirk: are the BuildRequires: {{ py2pkg(...) }} lines in foo.spec.j2 manually written, or is there something to generate them?12:36
toabctlaspiers, manually currently12:37
aspiersok12:37
cousin_luigitoabctl: Precisely.12:37
toabctlaspiers, you can do "metaextract foo-x.y.z.tar.gz" to get the install_require, ...12:37
toabctlcousin_luigi, I asked for it a  couple of times the fedora/mirantis guys (number80, jpena, apevec, IgorYozhikov ) but got no response yet..12:38
*** jpena is now known as jpena|lunch12:38
aspiersrpm -ql python-metaextract | grep /usr/bin12:39
aspiers/usr/bin/metaextact12:39
aspierstoabctl: spot the typo ...12:39
cousin_luigitoabctl: Are the spec files in github.com/openstack/rpm-packaging also used for fedora? I thought their stuff was in github.com/openstack-packages12:39
cousin_luigitoabctl: But I'm a total newcomer, so pardon my vagueness.12:40
toabctlcousin_luigi, they want to use them. that's the whole point about maintaining them upstream12:40
toabctlaspiers, urgs.12:40
aspierstoabctl: but typo aside, that worked - thanks12:40
cousin_luigitoabctl: Right.12:40
cousin_luigitoabctl: But if they have to be shared and fedora uses a different approach to single-spec, how will it ever be possible to share them?12:41
toabctlcousin_luigi, that's what we need to figure out. we might end up with 2 different solutions...12:42
cousin_luigitoabctl: Which is not going to happen anytime soon, right?12:42
toabctlcousin_luigi, but feel free to propose a review (with "git review")12:42
*** rbowen has joined #openstack-rpm-packaging12:43
cousin_luigitoabctl: Meanwhile, would a simple provides: python2-foo for selected packages put many nodes out of joint?12:43
cousin_luiginoses*12:43
toabctlhm. that could be a solution for now12:43
toabctlcousin_luigi, here are the macros we share and differ: https://github.com/openstack/rpm-packaging/tree/master/openstack/openstack-macros12:43
cousin_luigitoabctl: Thanks, will delve into them.12:45
cousin_luigitoabctl: Still, I must confess I'm not entirely sure what a git review is:/12:45
toabctlcousin_luigi, "git review" is the command to talk to gerrit12:46
toabctlthen the commit ends up at review.openstack.org12:46
cousin_luigiaha12:46
IgorYozhikovit pushes commits to the remote called gerrit12:47
IgorYozhikovall remotes could be viewed with git remote -v12:47
cousin_luigiThanks.12:49
*** makowals has quit IRC13:05
*** makowals has joined #openstack-rpm-packaging13:10
aspierstoabctl: how can I test my .spec.j2 offline before submitting to gerrit?13:10
toabctlaspiers, render it (see renderspec -h) and then build it against Cloud:OpenStack:Upstream:Master13:11
aspierstoabctl: so I have to create my own package in my own branch of C:O:U:M?13:12
toabctlaspiers, yes. or just commit and wait for the CI result13:12
aspierstoabctl: ok thanks13:12
toabctlaspiers, I have this (horrible) script for local testing: http://paste.openstack.org/show/607675/13:12
toabctlwhich have a lot of assumptions inside...13:13
aspierstoabctl: and the supporting files (e.g. .service file) have to be manually copied from the git repo into the project?13:13
toabctlaspiers, yes13:13
aspiersok13:13
aspierscool, that should be enough info13:13
aspierstoabctl: and install_requires corresponds to Requires not BuildRequires ?13:14
toabctlaspiers, yes (if you want to run the testsuite)13:14
toabctlaspiers, otherwise, only Requires13:14
aspiersok13:14
openstackgerritAdam Spiers proposed openstack/pymod2pkg master: Add mappings for masakari  https://review.openstack.org/45929313:28
*** makowals has quit IRC13:29
*** makowals has joined #openstack-rpm-packaging13:31
*** makowals has quit IRC13:31
openstackgerritAdam Spiers proposed openstack/pymod2pkg master: Add mappings for masakari  https://review.openstack.org/45929313:39
*** jpena|lunch is now known as jpena13:40
aspierstoabctl: I need python-hacking - should I add C:O:M or d:l:p to my branch project's path?13:50
toabctlaspiers, python-hacking can usually be ignored as BuildRequires13:51
aspiersoh OK13:51
aspierswhy?13:51
toabctlaspiers, it is used during the pep8 run which we skip. it is useless todo it again during pkg build13:52
toabctlaspiers, we just run the unittest13:52
aspiersok thanks13:52
toabctlaspiers, same for coverage btw.13:52
*** igorbelikov_ is now known as igorbelikov14:00
aspierstoabctl: why don't I see any _service files in C:O:U:M? how do you download the sources?14:02
toabctlaspiers, obs-service-renderspec does that14:02
toabctlaspiers, see https://github.com/SUSE-Cloud/automation/blob/master/hostscripts/rpm-packaging/createproject.py14:03
toabctlaspiers, http://zuul.cloud.suse.de/ (suse internal)14:03
toabctlhttps://ci.opensuse.org/view/OpenStack/job/openstack-rpm-packaging-sles12-Master/14:03
*** percevalbot has quit IRC14:04
aspierstoabctl: but how is that service used without _service?14:04
toabctlaspiers, it is called directly14:04
toabctlnot sure why tbh.14:04
aspiersdoh!14:04
aspiersok so I need to look at your hack script14:05
aspiersthis all really needs to be documented ...14:05
toabctlaspiers, yes. but in theory you would want to also build for mirantis and fedora locally...14:06
toabctlaspiers, to the easiest thing is to push a patch and let the CI do it's work.14:06
*** makowals has joined #openstack-rpm-packaging14:07
*** percevalbot has joined #openstack-rpm-packaging14:10
openstackgerritSiyi Luo proposed openstack/pymod2pkg master: drop py34 and add py35 in setup.cfg tox.ini  https://review.openstack.org/45932414:16
aspierstoabctl: but that generates unwanted noise in gerrit14:21
aspierstoabctl: anyway, I got it close to building now14:22
*** makowals has quit IRC14:26
dirkaspiers: we had reviews with over 100 revisions already, so I think you'll be fine14:29
openstackgerritSiyi Luo proposed openstack/pymod2pkg master: drop py34 and add py35 in setup.cfg tox.ini  https://review.openstack.org/45932414:29
*** cshastri has quit IRC14:37
aspierstoabctl: why do most of the spec files not have %defattr?14:41
toabctlaspiers, hm. no idea.14:50
aspierstoabctl: do you pay any attention to rpmlint warnings?14:51
toabctlno14:51
aspiers[    9s] python-masakariclient.src:72: W: files-attr-not-set14:51
aspiersoh :-/14:51
toabctlfeel free to fix it14:51
dirkaspiers: toabctl : that's a wrong warning due to the inability to upgrade rpmlint in sle. Just ignore it15:06
dirkdefattr(-,root,root-) is the default and it's just rpmlint that is wrong. It is fixed in anything less ancient than sle15:07
aspiersdirk: ok thanks15:08
openstackgerritAdam Spiers proposed openstack/rpm-packaging master: Add initial spec for python-masakariclient  https://review.openstack.org/45934415:10
aspierstoabctl: there's no package appearing here https://build.opensuse.org/project/show/home:suse-cloud-ci:rpm-packaging-sles12-Master-efb73619c1b2fa8cd0d7f41f031d2d877285d4c415:20
aspiersdirk: ^^^ any idea?15:36
aspiersI can't see any evidence of the build in http://zuul.cloud.suse.de/15:38
aspiersoh, I found it https://ci.opensuse.org/job/openstack-rpm-packaging-sles12-Master/2203/console15:39
aspiersIMHO gerrit should link to that, not to the created OBS project15:40
aspiersor at least there should be some way to navigate to it15:40
aspiersahhh of course, it's because https://review.openstack.org/#/c/459293/ needs to be merged15:41
*** itxaka has quit IRC15:44
dirkaspiers: no, that's unrelated16:01
*** vnogin has quit IRC16:36
*** jpena is now known as jpena|away16:37
*** rbowen has quit IRC16:43
*** rbowen has joined #openstack-rpm-packaging16:43
*** jpena|away is now known as jpena17:45
*** vnogin has joined #openstack-rpm-packaging17:46
*** vnogin has quit IRC18:32
*** vnogin has joined #openstack-rpm-packaging18:49
*** jpena is now known as jpena|away18:49
*** vnogin has quit IRC18:52
*** vnogin has joined #openstack-rpm-packaging19:14
*** vnogin has quit IRC19:59
*** pcaruana has quit IRC20:01
openstackgerritDirk Mueller proposed openstack/rpm-packaging master: monasca-agent: Remove packaging/ subdir  https://review.openstack.org/45905720:34
openstackgerritDirk Mueller proposed openstack/rpm-packaging master: Update monasca-api to 2.0.0  https://review.openstack.org/45944820:39
*** pradk has quit IRC21:11
openstackgerritDirk Mueller proposed openstack/rpm-packaging master: Update monasca-api to 2.0.0  https://review.openstack.org/45944821:12
openstackgerritAdam Spiers proposed openstack/pymod2pkg master: Add mappings for masakari  https://review.openstack.org/45929323:05
openstackgerritAdam Spiers proposed openstack/rpm-packaging master: Add initial spec for python-masakariclient  https://review.openstack.org/45934423:09

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!