Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 19 06:12
    tobowers commented #80
  • Sep 19 00:48

    brandonwestcott on master

    Added hook to create git hook f… Added dud file to fix issue wit… Added instructions for publishi… and 6 more (compare)

  • Sep 19 00:48
    brandonwestcott closed #80
  • Sep 18 17:43
    littlezigy synchronize #80
  • Sep 18 17:40
    littlezigy synchronize #80
  • Sep 18 17:34
    littlezigy synchronize #80
  • Sep 18 17:33

    brandonwestcott on faq-add-readme

    (compare)

  • Sep 18 17:33

    brandonwestcott on shared-ownership

    (compare)

  • Sep 18 17:33

    brandonwestcott on other

    (compare)

  • Sep 18 17:33

    brandonwestcott on dg-pages

    (compare)

  • Sep 18 17:03

    brandonwestcott on dg-pages

    Added hook to create git hook f… Added dud file to fix issue wit… Added instructions for publishi… and 2 more (compare)

  • Sep 18 08:28
    littlezigy synchronize #80
  • Sep 10 22:41
    c-nv-s commented #80
  • Sep 03 09:00
    tobowers commented #80
  • Sep 02 07:45
    tobowers commented #80
  • Sep 02 07:43
    tobowers commented #80
  • Sep 02 07:42
    tobowers commented #80
  • Sep 01 22:59
    bqv commented #80
  • Sep 01 08:14
    littlezigy opened #80
  • Aug 04 20:01

    icarusz on master

    correct gd to dg Merge pull request #79 from meh… (compare)

Wes Morgan
@cap10morgan
Are you by any chance running this over an SSH connection?
matrixbot
@matrixbot
@qy:xa0.uk any commands i ran on zeta, yes
Wes Morgan
@cap10morgan
ok, thanks
matrixbot
@matrixbot
@qy:xa0.uk in fact, maybe even some on delta
@qy:xa0.uk i love the idea and i'd enthusiastically use for many things it it worked stably for me, but it may be a good idea to have some error telemetry in the mean time, because i imagine many people would try it, have it segfault, and then give up without reporting bugs
Wes Morgan
@cap10morgan
thanks! we'll get it working for you again. great suggestion on error telemetry!
MoonLightElf
@MoonLightElf
I hope dgit would be a fully open-source software to host git repositories on peer to peer network all over the world. @icarusz
Andrew Holz
@icarusz
thanks @MoonLightElf !
so for you in a general sense you want to see more general github featires so it can operate independently (and obviously stay open source)
Andrew Holz
@icarusz
All here if you havent seen it we did post a few FAQs on the github wiki https://github.com/quorumcontrol/dgit/wiki/Frequently-Asked-Questions
Wes Morgan
@cap10morgan
@/all Important new release announcement: We found and fixed an object storage bug that was corrupting objects stored in Sia Skynet. The just-released v0.0.13-alpha fixes it. Get it here: https://github.com/quorumcontrol/dgit/releases/tag/v0.0.13-alpha or run brew upgrade if you installed it via Homebrew.
Brandon Westcott
@brandonwestcott
also after upgrading, please see this comment if you’ve had trouble fetching/cloning on a dgit repo you created: https://github.com/quorumcontrol/dgit/issues/52#issuecomment-607934681
QCSmello
@QCSmello
@/all Anyone interested in hearing more about how/why we built dgit, we did a Q&A with the team that built it: https://bit.ly/39FRpdw
Jerry
@JTrembl1
In the process of pushing my first repo, I accidentally exceeded my scrollback, and lost my dgit UUID for my repo. Can I retrieve that information from somewhere?
I use UUID loosely... ID for the repo?
Jerry
@JTrembl1
This message was deleted
Brandon Westcott
@brandonwestcott
hey @JTrembl1, the unique DID of the repo is actually deterministic from the name itself - there isn’t a quick way to get that from the dgit command right now, but if you send me the repo name I’m happy to fetch it for you
also thanks for that great feedback, we’ll make sure that can be easily resolved in the future
Brandon Westcott
@brandonwestcott
@JTrembl1 going to make an educated assumption that your repo is gtremblay/eventtechwebsite — if so, its DID is:
did:tupelo:0x1D302C64Cf93866c6c023d32aA6BD0B059c6037B
Jerry
@JTrembl1
@brandonwestcott Thank you. :thumbsup: Next time I will just redirect to a file.
Andrew Holz
@icarusz
We are expecting a new dgit release shortly with some features to support teams sharing a dgit remote
If there is a feature that would really help bring dgit into your workflow in a more useful way please share either here or DM, much appreciated!
asteriogonzalez
@asteriogonzalez

Hi guys!
I have a permission problem using dgit, the sceniario is as follows:

  1. I have a main repo and cloned one in a different host
  2. I can received in the 2nd repo any modification from 1st one
  3. when I tried to push some modification from the 2nd repo I have a rejection error. I guess some permissions are needed.
  4. Can anyone help me how to proceed to give permissions to the 2nd repo?

Note: I tried to add some collaborators in the 1st repo host, but I always receive 'not found' error.

$ git dg team add [username]
not found

Thanks is advance!

Brandon Westcott
@brandonwestcott
hi @asteriogonzalez, on the second host, did you create a new user, or did you import an existing user?
asteriogonzalez
@asteriogonzalez

I think neither, I not sure: what do you exactly are asking for:

In the 2nd host I just simply did:

git clone dgit://asterio/kk git clone dgit://asterio/kk cd kk/ touch nuevo git add nuevo ; git commit -m "adaasda" ; git push 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 nuevo To dgit://asterio/kk ! [remote rejected] master -> master (error creating NewAddBlockRequest: error processing block (valid: false): <nil>)

Maybe I am missing something, not really familiar with user permissions, sorry.

But I can push changes in a 3rd cloned repo in the same host as 1st repo, but not from 2nd host/repo
Brandon Westcott
@brandonwestcott
got it, thanks
asteriogonzalez
@asteriogonzalez
Thanks to you
Brandon Westcott
@brandonwestcott
your second host needs a user
you can create that / import that in two ways:
i would suggest git config --global decentragit.username :)
asteriogonzalez
@asteriogonzalez

I did already this in the 1 repo:

git config --global decentragit.username agp

Brandon Westcott
@brandonwestcott
ok great
then you’ll need to run git dg init again inside that repo
and this is good feedback, thanks - we hadn’t experienced cases where a user hadn’t created a repo yet on a machine when attempting to use dgit
asteriogonzalez
@asteriogonzalez
great, it's nice to be useful :)
Brandon Westcott
@brandonwestcott
and to clarify, the git dg init should be ran on the second host
and when it asks What decentragit username would you like to use?
enter agp
then it will ask for your recovery phrase
you can also create a new username for that 2nd host
then on the 1st host, you will be able to do git dg team add with that new username from the second host
asteriogonzalez
@asteriogonzalez
ok
asteriogonzalez
@asteriogonzalez

@brandonwestcott : Thanks for your tips. I have made advances and successfully set the user in the 2nd host using recovery pass-phrase, I've checked that the users have been imported in the gnome keyring, but unfortunately get the same error.

Now I need to leave, but If you don't mind I will create a recipe tomorrow with the initial setup in both hosts and the steps in each one in order to clarify the issue. I guess someone else will stuck in the same issue and dgit looks very promising, so may this help in the relevance of the project.

Thanks for you time.

Brandon Westcott
@brandonwestcott
awesome thanks for trying it out
we’ll be around tomorrow too so feel free to ping
also if you don’t mind, while running please enable env DG_LOG_LEVEL=debug for easier troubleshooting
asteriogonzalez
@asteriogonzalez

agp@debian1:~$ # create a demo repository
agp@debian1:~$ mkdir test20200510 ; cd test20200510
agp@debian1:~/test20200510$ git init
Initialized empty Git repository in /home/agp/test20200510/.git/
agp@debian1:~/test20200510$ git config --global user.email "agp@debian1.example.com"
agp@debian1:~/test20200510$ git config --global user.name "agp_1"
agp@debian1:~/test20200510$ git add *; git commit -m "commit"
[master (root-commit) d335bad] commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README.md

agp@debian1:~$ # blessing repository with DGIT
agp@debian1:~/test20200510$ export DG_LOG_LEVEL=debug
agp@debian1:~/test20200510$ git config --global decentragit.username agp@debian1
agp@debian1:~/test20200510$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/agp/.ssh/id_rsa):
/home/agp/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/agp/.ssh/id_rsa.
Your public key has been saved in /home/agp/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:Ohaw2H+Gke8TTvbPsUrDVNYq9ZoE0HqUCMX60O91trY agp@debian1
The key's randomart image is:
+---[RSA 2048]----+
| .+oo . |
| o.+ . |
| . o o. + . |
| o oo.o .= o |
| . o +oSoo o . |
| . =o.o.oo |
|
++++.+o . |
| . =o.oo oo |
| ...o+.E. |
+----[SHA256]-----+

agp@debian1:~$ # init DGIT in repo
agp@debian1:~/test20200510$ git dg init
2020-05-11T02:23:28.996+0200 INFO decentragit.cmd cmd/root.go:33 decentragit version: 7e53001
2020-05-11T02:23:28.997+0200 INFO decentragit.cmd cmd/root.go:34 goos: linux
2020-05-11T02:23:28.997+0200 INFO decentragit.cmd cmd/root.go:35 goarch: amd64
2020-05-11T02:23:30.232+0200 INFO decentragit.keyring keyring/keyring.go:51 keyring provider: libsecret
What decentragit username would you like to use? █gp@debian1

2020-05-11T02:23:34.887+0200 DEBUG decentragit.keyring keyring/keyring.go:69 finding private key agp@debian1
What is your full repo name? agp█test20200510

2020-05-11T02:23:52.534+0200 DEBUG decentragit.repotree repotree/repotree.go:43 looking for repo agp/test20200510
2020-05-11T02:23:52.544+0200 DEBUG decentragit.repotree repotree/repotree.go:52 user chaintree found for agp - did:tupelo:0xb76277b15FBa2179f870860d773E6A4845678d19
2020-05-11T02:23:52.547+0200 DEBUG decentragit.initializer initializer/initializer.go:344 creating new repo tree with endpoint dg://agp/test20200510 and auth 0x087B1dB3Ed1233b408c4806CA03A02e01e33682f
2020-05-11T02:23:52.548+0200 DEBUG decentragit.repotree repotree/repotree.go:74 creating new repotree with options: &{Name:agp/test20200510 Tupelo:0xc000393900 Owners:[] ObjectStorageType:}
2020-05-11T02:23:52.554+0200 DEBUG decentragit.repotree repotree/repotree.go:86 user chaintree found for agp - did:tupelo:0xb76277b15FBa2179f870860d773E6A4845678d19
2020-05-11T02:23:52.555+0200 DEBUG decentragit.usertree usertree/usertree.go:72 checking 0x087B1dB3Ed1233b408c4806CA03A02e01e33682f is owner of did:tupelo:0xb76277b15FBa2179f870860d773E6A4845678d19, chaintree auths: [0x886fb6e3eA779d4A8c5711df4Bc7758DbEfFEB97]
can not create repo agp/test20200510, current user is not an owner of agp

In the 2nd host, I get the same error