*** Coldblackice has joined #circuits | 00:51 | |
koobs | prologic: one of the ideas i have is for a TravisCI Api compatible BSD CI platform, to make integrating for BSD testing in Github as easy as travis | 05:11 |
---|---|---|
koobs | prologic: if you could write an api wrapper (travis) ci compatible, i tmight be a great first step to doing this | 05:11 |
koobs | prologic: The backend could be any CI system, and I know buildbot supports 'latent EC2 slaves' for instance, to spin them up/down only when theyre needed | 05:12 |
prologic | hi koobs | 05:28 |
prologic | so what's needed | 05:28 |
prologic | an API Wrapper around Travis CI's API? | 05:28 |
prologic | What kind of API are we exposing? | 05:29 |
prologic | Travis CI <-> System X <-> ??? | 05:29 |
koobs | well, not really | 05:32 |
koobs | i want to emulate the travis api (so this bsd ci service would be drop in addition) | 05:32 |
koobs | travis doesnt suppoyrt BSD OS's (nor will it likely in the future) | 05:33 |
koobs | so, givenn FreeBSD has bhyve, which can run multiple OS's | 05:33 |
koobs | we can provide a 'travis api compatible' CI platform | 05:33 |
koobs | solved the problem we were talking about for you on github re circuits | 05:36 |
koobs | but opens it up for everyone else | 05:36 |
prologic | ahh yeah okay | 05:58 |
prologic | I see what you're saying | 05:58 |
*** sdfgsdfg has joined #circuits | 11:00 | |
*** sdfgsdfg has quit IRC | 11:14 | |
*** Coldblackice has quit IRC | 13:58 | |
spaceone | hm, i don't get my setup.py working to execute my tests | 18:27 |
spaceone | No such file or directory... but not mentioned which | 18:27 |
spaceone | ERROR: file not found: test | 18:32 |
*** Romster has quit IRC | 19:14 | |
*** Romster has joined #circuits | 19:15 | |
*** Coldblackice has joined #circuits | 19:28 | |
*** wizardyesterday has joined #circuits | 20:01 | |
*** wizardyesterday has left #circuits () | 20:01 | |
*** y0no_ has joined #circuits | 20:12 | |
*** y0no has quit IRC | 20:14 | |
*** y0no has joined #circuits | 20:27 | |
*** y0no_ has quit IRC | 20:29 | |
*** techdragon has quit IRC | 20:29 | |
*** koobs has quit IRC | 20:29 | |
*** kwmiebach has quit IRC | 20:29 | |
*** techdragon has joined #circuits | 20:32 | |
*** koobs has joined #circuits | 20:38 | |
*** kwmiebach has joined #circuits | 20:41 | |
*** kwmiebach has quit IRC | 20:59 | |
*** bleep has quit IRC | 20:59 | |
*** LyndsySimon has quit IRC | 20:59 | |
*** prologic has quit IRC | 21:01 | |
*** Razerglass has quit IRC | 21:02 | |
*** Razerglass has joined #circuits | 21:02 | |
*** Razerglass has quit IRC | 21:02 | |
*** Razerglass has joined #circuits | 21:02 | |
*** Guest43452 has joined #circuits | 21:03 | |
*** xMopxShell has quit IRC | 21:20 | |
*** xMopxShell has joined #circuits | 21:22 | |
Guest43452 | spaceone, full output pasted somewhere? | 21:26 |
*** prologic has joined #circuits | 21:27 | |
*** Razerglass has quit IRC | 21:38 | |
*** Razerglass has joined #circuits | 21:38 | |
*** Razerglass has quit IRC | 21:38 | |
*** Razerglass has joined #circuits | 21:38 | |
spaceone | prologic: https://bpaste.net/show/bdba75a87090 | 21:38 |
prologic | is this up-to-date in the repo on gh? | 21:39 |
prologic | I'll have a look if so | 21:39 |
spaceone | prologic: yes | 21:40 |
spaceone | i changed one line but it doesn't fixed it either | 21:40 |
*** ninkotech_ has joined #circuits | 21:48 | |
*** ninkotech__ has quit IRC | 21:48 | |
prologic | fixed | 21:51 |
spaceone | thanks! | 21:51 |
prologic | nps | 21:55 |
prologic | cmd.extend(sys.argv[1:]) wasn't quite right :) | 21:55 |
prologic | you were essentially running: | 21:55 |
prologic | py.test ... test | 21:55 |
prologic | but the tests suite directory is tests | 21:55 |
prologic | not test :) | 21:55 |
spaceone | ah yes | 21:55 |
spaceone | well, i need this when i run it from my own | 21:56 |
prologic | sure | 21:56 |
spaceone | but okay ^^ | 21:56 |
spaceone | i started to write some tests | 21:57 |
spaceone | prologic: and if i want to set up coveralls → the documentation is very weird | 22:05 |
spaceone | it says | 22:05 |
spaceone | "add the following lines to a .coveralls.yml file in your repository's root: " | 22:05 |
spaceone | ... | 22:05 |
spaceone | and then "Note: Do not make your repo token public." | 22:05 |
spaceone | but the lines contain that token | 22:06 |
prologic | yes :) | 22:07 |
prologic | Travis CI has supports for coveralls though | 22:07 |
spaceone | so what shouldd i do? | 22:07 |
prologic | so just rely on Travis to pick it up | 22:07 |
prologic | circuits has no .coveralls.yml | 22:07 |
spaceone | hm, but it doesn't do anything | 22:07 |
prologic | Travis does the work | 22:07 |
prologic | yeah it does | 22:07 |
prologic | I forget how it works | 22:07 |
prologic | butt he two are itnegrated | 22:07 |
spaceone | maybe the tests don't need to fail | 22:07 |
spaceone | (2 tests are failing, dunno why, locally they pass) | 22:08 |
prologic | actually 2 were failing for me too | 22:09 |
prologic | delete your virtualenv and starrt over | 22:09 |
prologic | may show the errors come up | 22:09 |
spaceone | prologic: can you execute python2 -c 'from email.utils import formatdate, parsedate' | 22:10 |
spaceone | does it work? | 22:10 |
spaceone | >>> from httoop import Date | 22:13 |
spaceone | >>> d = Date("Wed, 12 Feb 1997 16:29:51 -0500") | 22:14 |
spaceone | >>> d == 855761391.0 | 22:14 |
spaceone | True | 22:14 |
spaceone | maybe it has to do with the set up timezone | 22:15 |
spaceone | or LC_TIME | 22:15 |
spaceone | assert <HTTP Date(855764991)> == 855761391.0 | 22:17 |
prologic | >>> from email.utils import formatdate, parsedate | 22:22 |
prologic | >>> | 22:22 |
spaceone | "-0500" is not evaluated | 22:22 |
spaceone | i think i need to implement those by myself too | 22:22 |
spaceone | all stdlibs are broken :/ | 22:23 |
spaceone | good night ;) | 22:27 |
spaceone | grr... email.utils.parsedate is really wrong... dateutil.parser.parse keeps the tzinfo | 22:37 |
spaceone | HTTP dates are expected to be GMT in most of the cases, but why did Julian Reschke uses "-0500" then. I'll read about it again | 22:38 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!