!uBhYhtcoNlyEbzfYAW:matrix.org

crev

109 Members
crev users https://github.com/dpc/crev/36 Servers

Load older messages


SenderMessageTime
19 Mar 2021
@chrysn:privacytools.iochrysn(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:privacytools.iochrysn 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:matrix.orgdpc
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:matrix.orgdpc
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:matrix.orgdpcI 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
@jan.christian:gruenhage.xyzjcgruenhage
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:privacytools.iochrysnso 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:matrix.orgdpc
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:matrix.orgdpc 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-55f066240fc9f982beb028fc:gitter.imnbigaouette (Nicolas Bigaouette) joined the room.18:48:10
@nbigaouette-55f066240fc9f982beb028fc:gitter.imnbigaouette (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-55f066240fc9f982beb028fc:gitter.imnbigaouette (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-55f066240fc9f982beb028fc:gitter.imnbigaouette (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-55f066240fc9f982beb028fc:gitter.imnbigaouette (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-55f066240fc9f982beb028fc:gitter.imnbigaouette (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:matrix.orgdpcThe ids are supposed to be "public" even if internally. Ssh authentication might get in a way of that .04:56:16
@dpc:matrix.orgdpcHonestly, 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:matrix.orgprogrammerjake set a profile picture.07:07:16
27 Mar 2021
@jboi:jboi.nlJonathan changed their profile picture.18:25:27
30 Mar 2021
@lle-bout:matrix.orglle-bout changed their display name from leo to lle-bout.01:54:13
8 Apr 2021
@andrew:aylett.co.ukAndrew Aylett joined the room.13:44:31
@rusty:tensor.chatRusty joined the room.16:32:06
9 Apr 2021
@mtrnord:nordgedanken.devMTRNord changed their profile picture.23:56:10
14 Apr 2021
@avalenn:matrix.orgavalenn joined the room.21:31:47
15 Apr 2021
@programmerjake:matrix.orgprogrammerjakehmm, 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.crev23:40:45
@programmerjake:matrix.orgprogrammerjakeany ideas why?23:40:55
@programmerjake:matrix.orgprogrammerjake * 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.crev23:41:17
16 Apr 2021
@dpc:matrix.orgdpchttps://lib.rs/crates/inkwell/crev i see it04:54:34
@dpc:matrix.orgdpcThese might be scraping once a day04:54:51
@dpc:matrix.orgdpcGood job reviewing it, BTW04:55:46

There are no newer messages yet.


Back to Room List