19 Mar 2021 |
chrysn | (i see it a bit like a gateway to clients spidering on their own; but then again, intermediate repos can disappear and then linkage can't be recovered) | 15:34:39 |
chrysn | if auto-crev-profs is to do this: is there a better way to get "all" known urls than filtering around in the output of cargo crev repo fetch all ? (that's a bit icky because it's all on stderr, and i'd have to filter out error messages and the initial 'Fetching...') | 15:43:24 |
dpc | In reply to @jan.christian:gruenhage.xyz dpc: 0.19.0 and 0.19.1 don't have a changelog entry in https://github.com/crev-dev/cargo-crev/blob/master/cargo-crev/CHANGELOG.md. What's up with that? Probably just overlooked. You might want to create a github issue | 22:11:27 |
dpc | In reply to @chrysn:privacytools.io any opinions on who should do the spidering? auto-crev-proofs seems in a good position to do it. I mean - I thought that's what it is doing. :D | 22:18:18 |
dpc | I just published a https://github.com/dpc/crev-proofs/blob/56ab2ddc1bcc97066fe1545b9f492505f30c22c6/FYlr8YoYGVvDwHQxqEIs89reKKDy-oWisoO0qXXEfHE/trust/2021-03-rsPFjA.proof.crev#L35 which I think for some reason I forgot to do before. | 22:20:00 |
jcgruenhage | In reply to @dpc:matrix.org Probably just overlooked. You might want to create a github issue done | 22:21:30 |
20 Mar 2021 |
chrysn | so far it only none-trusts the ones discoverable as forks -- but yeah, then i'll let it spider too :-) | 10:00:51 |
19 Mar 2021 |
dpc | In reply to @chrysn:privacytools.io if auto-crev-profs is to do this: is there a better way to get "all" known urls than filtering around in the output of cargo crev repo fetch all ? (that's a bit icky because it's all on stderr, and i'd have to filter out error messages and the initial 'Fetching...') cargo crev id query all if you want to do it in shell script. | 22:23:22 |
dpc | Otherwise crev-data is a small library that takes care of parsing crev proofs (as a part of cargo-crev ) | 22:24:48 |
22 Mar 2021 |
| nbigaouette (Nicolas Bigaouette) joined the room. | 18:48:10 |
nbigaouette (Nicolas Bigaouette) | Hi all! I am exploring cargo-crev but need to work with internal ssh repos. I've opened crev-dev/cargo-crev#387 regarding this. Since ssh is "just" a different remote url, I though it wouldn't be too hard to modify cargo-crev. But looking at the code it seems that cargo-crev is actively trying to change url schemes? There is something happening that I am not 100% sure, it looks like https schemes are replacved with git ones. This confuses communication with my proof repo (or ones to trust). | 18:48:11 |
nbigaouette (Nicolas Bigaouette) | What I think happens is that the user1 creates a proof repo using ssh as the remote. This get pushed correctly, but the proof file in the repo contains the remote as ssh. Than when user2 wants to trust that repo, providing an https url will "fail" because the proof file (*.proof.crev ) contains an ssh remote. This ssh remote is the one loaded in the crev db, so getting the remote back from using an id returns the ssh url, not the https one... | 18:56:52 |
nbigaouette (Nicolas Bigaouette) | I think this code is the culprit: https://github.com/crev-dev/cargo-crev/blob/v0.19.1/cargo-crev/src/main.rs#L373-L382 | 19:10:48 |
nbigaouette (Nicolas Bigaouette) | it looks up the DB with the author's id and return the ssh url instead of using the (https) url passed as command line argument. | 19:11:43 |
nbigaouette (Nicolas Bigaouette) | So for now I was able to trust an id from an ssh url. Needed to add a check for ssh prefix in https://github.com/crev-dev/cargo-crev/blob/v0.19.1/cargo-crev/src/main.rs#L362, else the ssh url ends up in the ids vec and crev gets confused. Then make sure the git operation loads credentials from an ssh agent. | 19:59:26 |
23 Mar 2021 |
dpc | The ids are supposed to be "public" even if internally. Ssh authentication might get in a way of that . | 04:56:16 |
dpc | Honestly, it's probably better to use a fake public id in such case, that works point to an empty repo and then manually change stuff in for settings, and pull and push with `cargo crev repo git ...` | 05:00:42 |
25 Mar 2021 |
| programmerjake set a profile picture. | 07:07:16 |
27 Mar 2021 |
| Jonathan changed their profile picture. | 18:25:27 |
30 Mar 2021 |
| lle-bout changed their display name from leo to lle-bout. | 01:54:13 |
8 Apr 2021 |
| Andrew Aylett joined the room. | 13:44:31 |
| Rusty joined the room. | 16:32:06 |
9 Apr 2021 |
| MTRNord changed their profile picture. | 23:56:10 |
14 Apr 2021 |
| avalenn joined the room. | 21:31:47 |
15 Apr 2021 |
programmerjake | hmm, I pushed a review yesterday but it doesn't show up on either lib.rs or web.crev.dev: https://github.com/programmerjake/crev-proofs/blob/master/dUc4luSnPuYlfYarXUizPOSBLUBZguTVOQUCHmAKSps/reviews/2021-04-package-nEeAYg.proof.crev | 23:40:45 |
programmerjake | any ideas why? | 23:40:55 |
programmerjake | * hmm, I pushed a review yesterday but it doesn't show up on either lib.rs or web.crev.dev: https://github.com/programmerjake/crev-proofs/blob/master/dUc4luSnPuYlfYarXUizPOSBLUBZguTVOQUCHmAKSps/reviews/2021-04-package-nEeAYg.proof.crev | 23:41:17 |
16 Apr 2021 |
dpc | https://lib.rs/crates/inkwell/crev i see it | 04:54:34 |
dpc | These might be scraping once a day | 04:54:51 |
dpc | Good job reviewing it, BTW | 04:55:46 |