*** locallycompact has joined #baserock | 01:21 | |
*** locallycompact has quit IRC | 01:26 | |
*** gtristan has joined #baserock | 04:49 | |
*** gtristan has quit IRC | 06:21 | |
*** edcragg has joined #baserock | 06:35 | |
*** gtristan has joined #baserock | 06:48 | |
*** edcragg has quit IRC | 07:21 | |
*** ctbruce has joined #baserock | 07:24 | |
*** fay_ has joined #baserock | 07:29 | |
*** rdale has quit IRC | 07:40 | |
*** CTtpollard has joined #baserock | 07:52 | |
*** toscalix has joined #baserock | 07:57 | |
*** rdale has joined #baserock | 08:10 | |
*** tiagogomes has joined #baserock | 08:10 | |
*** jonathanmaw has joined #baserock | 08:19 | |
*** franred has quit IRC | 08:32 | |
*** franred has joined #baserock | 08:36 | |
*** janderJLR_ has joined #baserock | 09:01 | |
*** paulsherwood has joined #baserock | 09:01 | |
*** tiagogomes_ has joined #baserock | 09:04 | |
*** perryl_ has joined #baserock | 09:04 | |
*** tiagogomes has quit IRC | 09:08 | |
*** janderJLR has quit IRC | 09:08 | |
*** leeming has quit IRC | 09:08 | |
*** paulsher1ood has quit IRC | 09:08 | |
*** perryl has quit IRC | 09:08 | |
*** leeming has joined #baserock | 09:09 | |
*** perryl_ is now known as perryl | 09:09 | |
*** edcragg has joined #baserock | 09:10 | |
*** locallycompact has joined #baserock | 09:27 | |
*** jonathanmaw has quit IRC | 09:52 | |
*** jonathanmaw has joined #baserock | 10:01 | |
*** mario-goulart has quit IRC | 10:43 | |
*** mario-goulart has joined #baserock | 10:44 | |
leeming | maybe out of scope(?) but for anyone who has used the yaml python libs.... when doing a yaml.dump() to create a yaml/morph file.... how do you get around the key ordering? | 10:44 |
---|---|---|
leeming | ive tried what is suggested here > http://stackoverflow.com/a/16782282 , but doesn't seem to work all the time :S | 10:44 |
edcragg | don't people usually use safe_dump or whatever it is | 10:45 |
leeming | or am i being too anal wanting 'name' and 'kind' at the top | 10:45 |
leeming | safe.. | 10:45 |
leeming | oh | 10:45 |
* leeming goes to look | 10:45 | |
SotK | leeming: morph subclasses yaml.SafeDumper to dump in a defined order: http://git.baserock.org/cgit/baserock/baserock/morph.git/tree/morphlib/morphloader.py#n226 | 10:47 |
pedroalvarez | almost snap ... | 10:47 |
pedroalvarez | what SotK said :) | 10:48 |
leeming | oooo already python world morph code... doh should have looked | 10:48 |
pedroalvarez | and no, having them in order makes sense. Please, do that. | 10:48 |
pedroalvarez | lots of things are already implemented in morph, yes | 10:49 |
leeming | thanks SotK | 10:49 |
pedroalvarez | pity that nobody wants to use that library anymore :P | 10:49 |
* leeming does | 10:49 | |
* leeming maybe | 10:49 | |
pedroalvarez | I guess you will end up just copying the code | 10:49 |
leeming | or importing the lib....? | 10:50 |
leeming | or is it currently in a weird quantum state of working and not working? | 10:50 |
pedroalvarez | no no, it works | 10:51 |
leeming | well, as long as it is portable enough, hopefully shouldnt have to _copy_ the code | 10:52 |
leeming | while im on the topic... any other libs/repos that might be of use to me while developing this spec2definitions tool? | 10:52 |
*** cyndis_ is now known as cyndis | 10:53 | |
pedroalvarez | hm.. maybe the import tool | 10:54 |
franred | it would be nice if the spec2definitions will be a plugin in the import tool, yep | 10:55 |
pedroalvarez | the import tool takes [npm, python,cpan....] packages and create definitions for them | 10:55 |
pedroalvarez | not saying this is the way, if you only want to make something quick that works, but just pointing out that we have something like that already: http://git.baserock.org/cgit/baserock/baserock/import.git/ | 10:56 |
*** gtristan has quit IRC | 11:01 | |
leeming | franred, after you asked about %patch, i was asked to look into one on my project that has them in the spec... so might be on the cards | 11:09 |
leeming | pedroalvarez, cool thanks.. yes, I am aware of the effort to make a "tool to fix THIS problem" vs generalising/proper(ish) software engineering the tool | 11:11 |
leeming | just like to know the options before making some arbitrary design decision that ends up not being compatible with merging with general tools | 11:11 |
leeming | Just wondering, in the import tools... how does it figure out the git information? if no one knows off the top of their heads it is fine, just starting to scan through the code now.... is it a lorry thing? | 11:33 |
pedroalvarez | it tries to generate lorry files with the information it can get from npm,pip,etc package managers | 11:35 |
leeming | is git information contained within them package managers? | 11:37 |
leeming | or is it created from | 11:37 |
pedroalvarez | I have no idea, tbh | 11:37 |
leeming | [software bundle] --> Create git repo--> git, instead of, [software bundle] --> Magically git searching --> git-mirror on trove/whereever | 11:38 |
pedroalvarez | [software bundle] --> magically *source* checking --> generation lorry file that you can push to a trove | 11:40 |
* leeming nods | 11:43 | |
leeming | feel free to laugh but, are there any api docs for this stuff? | 11:51 |
pedroalvarez | what do you mean by api docs | 11:51 |
leeming | documentation | 11:53 |
pedroalvarez | there are some readmes in the repo, not sure what's on them :P | 11:53 |
pedroalvarez | http://git.baserock.org/cgit/baserock/baserock/import.git/tree/ | 11:54 |
pedroalvarez | and some tutorials: http://wiki.baserock.org/guides/import-tool/ | 11:55 |
leeming | how come some things are in docs.baserock, yet others in wiki.baserock.. ahh | 11:55 |
leeming | but thanks.. but not quite what i was after | 11:56 |
pedroalvarez | hah | 11:56 |
leeming | i was seeing if there was docs for a developer, telling me what classes/functions exist , with descriptions/purpose/args | 11:57 |
franred | leeming, good to know that was helpful :) | 11:57 |
pedroalvarez | i think docs.baserock.org focuses on the Definitions format, everything else, like tutorials, and more information is on the wiki | 11:57 |
leeming | i know a lot of projects dont have them, due to time/effort/fast moving | 11:57 |
leeming | but nice to have =) | 11:58 |
leeming | wiki/docs, is just another example of fragmentation that is currently something that keeps cropping up for me =) dont worry about my outbursts haha | 11:58 |
persia | Part of wiki/docs is that the wiki was relatively ungardened, although I don't know that we ever completed enough of docs to retire the wiki. | 11:59 |
* leeming just never quite knows where to look | 12:00 | |
persia | For developer docs, my default is to add sphinx to things and stick them on readthedocs, as they have good google-fu, so things come up faster than if one just renders development docs locally and adds it to a project site. | 12:00 |
leeming | urm ok you mention tools i have no idea what they are | 12:00 |
persia | I don't believe that is done for any of the baserock projects currently, nor that we have a local renderer, making it tricky. | 12:00 |
* leeming stacks them on my todo google searches | 12:00 | |
persia | http://www.sphinx-doc.org/ | 12:01 |
persia | https://readthedocs.org/ | 12:01 |
leeming | im familiar with doxygen, but guess that is more in the java ecosystem | 12:01 |
persia | Mind you, I tend to prefer Markdown to ReStructured Text, but ... | 12:02 |
leeming | well... using documenting macro langs like doxy gets around that right? creates multiple renders in diff formats | 12:03 |
SotK | sphinx is worth using ReStructured Text for imo | 12:03 |
leeming | ok cool, will look into that | 12:04 |
leeming | most of my python experience is very hack/slash, so not fully used to the dev workflow for it | 12:04 |
* leeming keeps asking about documentation in CT.. is worried he is getting a name for himself | 12:05 | |
*** locallycompact has quit IRC | 12:26 | |
*** locallycompact has joined #baserock | 12:31 | |
*** CTtpollard has quit IRC | 12:47 | |
*** CTtpollard has joined #baserock | 12:47 | |
*** tiagogomes_ has quit IRC | 12:51 | |
*** tiagogomes_ has joined #baserock | 13:45 | |
*** franred has quit IRC | 14:01 | |
*** franred has joined #baserock | 14:02 | |
* paulsherwood wonders how morph deals with assembling a system containing s-i commands, where the executables for the s-i commands themselves are not present on the assembled system | 14:38 | |
richard_maw | it doesn't, s-i commands were intended to be stuff like ldconfig, which requires you to be chrooted | 14:39 |
*** gtristan has joined #baserock | 14:42 | |
paulsherwood | locallycompact: there's your answer... your system is impossible :) | 14:49 |
paulsherwood | (from another channel) | 14:49 |
locallycompact | Is it | 14:49 |
paulsherwood | locallycompact: can you share the actual system-integration commands from what you're doing? i wonder what components are actually necessary | 14:51 |
paulsherwood | maybe you could define an extra (empty or nearly empty) stratum, with b-d that includes the core+foundation etc | 14:52 |
paulsherwood | that would avoid redoing cache-keys for strata you already have | 14:52 |
paulsherwood | locallycompact: does that make sense? ^^ | 14:54 |
locallycompact | none of this makes sense honestly | 14:55 |
paulsherwood | really? what's the confusion? | 14:56 |
locallycompact | So, the system integration command is being run at system build time but defined in the chunk | 14:58 |
paulsherwood | yes, correct | 14:58 |
locallycompact | So that one that failed is the linux one | 14:58 |
locallycompact | Why does it fail here | 14:58 |
* paulsherwood had no hand the semantics of this | 14:58 | |
paulsherwood | iiuc (but i may be wrong) as gtristan expressed 'Conclusion, we cannot run these commands in the sandbox when the sandbox does not contain a shell.' | 15:00 |
paulsherwood | https://github.com/devcurmudgeon/ybd/issues/224 | 15:00 |
locallycompact | oh | 15:01 |
locallycompact | ok | 15:01 |
persia | If you need to do that sort of thing, the deployment commands are a sensible place... | 15:01 |
paulsherwood | good point | 15:02 |
paulsherwood | ybd could do with a better message for this situation | 15:02 |
*** Jude has joined #baserock | 15:03 | |
*** toscalix has quit IRC | 16:10 | |
*** CTtpollard has quit IRC | 16:13 | |
*** toscalix has joined #baserock | 16:16 | |
*** ctbruce has quit IRC | 16:18 | |
*** jonathanmaw has quit IRC | 16:29 | |
*** edcragg has quit IRC | 16:51 | |
*** toscalix has quit IRC | 17:24 | |
*** locallycompact has quit IRC | 17:25 | |
*** edcragg has joined #baserock | 17:36 | |
*** edcragg has quit IRC | 17:46 | |
*** gtristan has quit IRC | 21:45 | |
*** paulsherwood has quit IRC | 21:45 | |
*** rdale has quit IRC | 21:45 | |
*** Jude has quit IRC | 21:45 | |
*** vgrade has quit IRC | 21:45 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!