=== niemeyer_ is now known as niemeyer
Chipacamorning all08:07
* Chipaca starts pronouncing 'lifecycle' to rhyme with 'bicycle'08:55
Chipacabthomas: why do you like, commas so much 🙂09:40
bthomasGood point Chipaca :-). I tend to write long complex statements. I was hammered by my dissertation advisor to break them down into smaller statements or use commas for pause. Looks like both you and facundo have indigetion with the consumption of so many commas, so I will cede to the democratic will here :-). Do let me know if the sentenses are complex I will break them down.09:42
bthomasChipaca: My biggest concern is this. All the big edits suggested by you and facundo I can make it both in the google docs and my local markdown copy. I will try to do the same with the commas too, but not having a robotic attention span this can be error prone. I am not sure what our process will be to convert these docs in to web format.09:44
Chipacabthomas: i agree you should break long statements into shorter ones, but sprinkling commas at random is rarely the right approach09:44
Chipacabthomas: once you asked us to review the google doc, your local copy became irrelephant09:45
Chipacabthomas: WRT commas, maybe http://www.hemingwayapp.com/ helps?09:49
bthomasChipaca: That is very cool. I will use it next time. BTW I like Hemingway and John Steinback.09:51
Chipacabthomas: i'm pausing my editing for a while, if you want to review09:52
Chipaca(don't remove the CHECKPOINT comment so i can continue)09:53
bthomasChipaca: on it now09:53
bthomasChipaca: Do we have a preference in terms - Application or Charm. I can't decide. Pick one.10:15
Chipacabthomas: they are not equivalent10:15
bthomasChipaca: There is one subtly though the Charm manages the application.10:15
bthomasIndeed I was just typing.10:15
bthomasok let give it a thought10:15
Chipacabthomas: yes, a charm drives an application, inside a unit -- but juju's "application" is a collection of units10:16
Chipacabthomas: so in general i'd talk about the charm, and only use application when it is very clear which of these two you mean10:16
mupPR operator#412 opened: add __repr__ for EventBase, LazyMapping, and RelationData <Created by chipaca> <https://github.com/canonical/operator/pull/412>10:42
mupPR operator#413 opened: bail out of main() if use_juju_for_storage=True and unsupported <Created by chipaca> <https://github.com/canonical/operator/pull/413>11:11
facubatista¡Muy buenos días a todos!11:38
Chipacafacubatista: 👋❗12:00
facubatistahola Chipaca12:01
* bthomas is skipping overtures today - hard at work with docs :-)12:01
Chipacacould i get reviews for #412? got another pr coming based on it and would rather not have to do the rebase dance12:04
mupPR #412: add __repr__ for EventBase, LazyMapping, and RelationData <Created by chipaca> <https://github.com/canonical/operator/pull/412>12:04
Chipaca(and it's super easy as reviews go)12:05
mupIssue operator#414 opened: Ensure all code has proper docstrings <Created by facundobatista> <https://github.com/canonical/operator/issues/414>12:12
* bthomas -> lunch 13:02
=== deej` is now known as deej
Chipacafacubatista: WDYT WRT pydocstyle in test_infra?15:12
Chipacahml: 👋15:15
hmlChipaca: hi15:15
Chipacahml: facubatista is probably the person you want to chat with :)15:15
hmlChipaca: ty!15:15
hmlfacubatista: i’m trying to charmcraft release to a track/risk combo… but i get “Store failure! Invalid track: testme15:16
hmlfor whatever track i say15:16
hmlrelease to a risk is fine15:16
hmlam i missing a step?15:17
facubatistahml, you can not create tracks at will, it's a errand you need to Store people to enable it to you15:17
hmlfacubatista: interesting.  i had no idea.15:17
Chipacafacubatista: poor will15:17
facubatistahml, you would need to create a new topic here asking for that, IIRC: https://forum.snapcraft.io/15:18
facubatista(probably there would be something similar for charms in the future, I don't think there's a process in stone for charms yet)15:18
Chipacafacubatista: that's just for now, right? later tracks for charms would be requested in a more charming place :)15:18
hmlfacubatista: okay.15:18
hmli’m trying to do juju dev/testing, so more complicated channel release info is needed for my test charms15:19
Chipacahml: https://forum.snapcraft.io/t/process-for-aliases-auto-connections-and-tracks/455/115:24
Chipacahml: i'm guessing that's what facundo is suggesting you do15:25
hmla suggestion - an error message telling you to get the track approved and added would be helpful!15:34
hmlinstead of an error  of invalid track.15:35
* facubatista -> lunch16:01
bthomasfacubatista: when you are back can we have a quick 1:1 10 min.16:42
bthomasChipaca: are you planning to doing the rest of review today or when you are back next week ?16:43
Chipacabthomas: i'll do it tonight16:43
Chipacaif that's ok16:43
bthomasChipaca: That is good, if possible but don't strain yourself. Since then we can save the reviewed doc for future use and then remove sections facubatista would prefer to have removed. Thereby we would not need to do a second review in the future when we put them back (hopefully :-) ).16:44
bthomasshould add if we put them back :)16:46
ChipacaI could use a 2nd review for #412 as it has a followup16:54
mupPR #412: add __repr__ for EventBase, LazyMapping, and RelationData <Created by chipaca> <https://github.com/canonical/operator/pull/412>16:54
bthomasChipaca: having a look16:55
bthomasChipaca: this reminds me it would be nice to have and string or machine readable representation for the event descriptor "on" . Something that lists the events currently supported.16:56
Chipacabthomas: intersting idea. file an issue for it plz16:56
* facubatista is back16:57
Chipacathere might be complications but it's worth exploring16:57
bthomasChipaca: will do16:57
bthomasfacubatista: are you free for a couple of mins17:01
facubatistabthomas, sure17:01
bthomasstand up hangout 10 mins . going now17:01
bthomasfacubatista: waiting for you17:02
mupIssue operator#250 closed: Improve __str__ of developer exposed objects <bug> <Created by facundobatista> <Closed by chipaca> <https://github.com/canonical/operator/issues/250>17:02
mupPR operator#412 closed: add __repr__ for EventBase, LazyMapping, and RelationData <Created by chipaca> <Merged by chipaca> <https://github.com/canonical/operator/pull/412>17:02
mupPR operator#415 opened: Log event deferral and reëmission <Created by chipaca> <https://github.com/canonical/operator/pull/415>17:07
* Chipaca runs away17:08
* bthomas switch to non-work laptop17:12
hmlis it possible to upload a bundle via charmcraft?  if so, how to a contruct the files to be uploaded17:25
facubatistanot yet17:30
hmlfacubatista: is there an eta on that?  do you know if there is another wya to get a bundle into charmhub?17:33
facubatistahml, no ETA, this is the issue where we track it: https://github.com/canonical/charmcraft/issues/12817:33
hml facubatista  ty17:33
hmlfacubatista:  different topic, how do i set a version?  i put a version file in the charm directory and did charmcraft build and upload, but the version was set to the same as the revision, not what i set it too17:34
facubatistainteresting, let's see that17:36
hmlfacubatista:  https://paste.ubuntu.com/p/Dtb249ycyB/17:39
facubatistahml, can you confirm that you do NOT have a "version" file in the "build" directory, please?17:50
hmlfacubatista:  no, I  have a version file.17:50
facubatistajam, Chipaca, any idea why we are ignoring the "version" file in the build? We have `/version` in the `default_juju_ignore` string17:50
hmlI “DO” have one17:50
facubatistain the build directory?17:51
facubatistaor in your project's directory?17:51
facubatista2020-09-23 14:51:49,717  charmcraft.commands.build      DEBUG    Ignoring file because of rules: 'version'17:52
hmlfacubatista:  i’m not up on the terminalogy, it’s in the same directory as the metadata.yaml and where i run charmcraft build from17:58
hmllike in the youtube charmcraft build tutorial17:58
facubatistahml, no, it's de "build" directory created by charmcraft when you build it17:59
facubatistahml, alternatively, can you please do `charmcraft -v build` and pass me that, so I can see those logs?18:00
hmlfacubatista:  sure.  afaik, the directory is like what’s here:  https://discourse.juju.is/t/tutorial-using-charmcraft-to-build-upload-and-release-charms/338618:01
hmlfacubatista:  here’s the output https://pastebin.canonical.com/p/KxnKXCNzgx/18:03
facubatistaright, line 27 is the problem18:04
hmlfacubatista: okay… how do i fix this.  there is no version file in the build directory created when i run charmcraft build.18:05
facubatistahml, you'd need to... a) hack the charmcraft source code (I can guide you);  b) unzip the .charm, put the file, zip it again, upload it;  or c) wait for Monday18:06
hmlfacubatista: rgr.  I’ll go with B.  ty.  should i file a bug? o18:07
facubatistahml, https://github.com/canonical/charmcraft/issues/16518:08
facubatista(I already did)18:08
hmlfacubatista:  ty!18:08
facubatistajam, I requested your review on this one, thanks! https://github.com/canonical/charmcraft/pull/16618:14
mupPR charmcraft#166: Don't ignore important files (like version) by default <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/166>18:14
jamfacubatista, commentedv18:24
facubatistajam, but charmcraft should fill it itself in the case it's missing, otherwise we're overruling the author, and that's probably always a bad idea18:26
facubatistaif it's there, why not respect it?18:26
jamfacubatista, so 'revision' can also be there, but is almost always wrong/stale. Same for 'version'. If you unpack a .zip of a charm, you would expect it to be there, but if you then reuploaded that, you would not want to take the stale one IMO18:27
facubatistajam, revision and version are handled diferently; the revision is always indicated by the store, it's an integer, always growing; the version can be any string that the user wants, to represent the proper version of the charm18:30
facubatistathe revision will be incremented on each binary uploaded to the store, the version is author responsibility18:30
facubatistawe're ignoring a posible "revision" file too (don't know why), but in any case the store will not use that for anything; OTOH the store parses and keeps what's in "version"18:31
jamI'm not opposed to having it, but I'm much more in favor of populating it by the build command.18:32
facubatistajam, so you say that if the author indicates that version should be X, we go ahead and push to the store something that will end up in version Y? that's super surprising18:33
jamfacubatista, you can warn if you want, but I trust a static file on disk much less than the build process18:34
facubatistafor me it's matter of trusting the author, not the file; if the author would want automatic versioning, she can always remove the file and let charmcraft take charge18:37
facubatistalet's talk about this on Monday with Chipaca18:37
facubatistaI commented this ^ in the PR18:38
* facubatista eods and is off tomorrow, will be back on Friday20:53

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