Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    William Hilton
    @wmhilton
    Everyone: I am so sorry it's been nearly a year(?!!!) since I've checked this chat. 😔 Mentally, the COVID-19 pandemic just completely pushed me beyond my limits and this was one of a couple facets of my life that got neglected.
    William Hilton
    @wmhilton
    I want to write a nice blog post explaining my dilemma, but in the meantime, just let it be known I really won't mind if the community (if there is one) forks the repo on order to continue the project. Maybe I can set up a proper "peaceful transition of power" for the actual isomorphic-git GitHub org at some point, but honestly, I'd take advantage of the situation to rebrand with a less annoying name.
    Noah Hummel
    @strangedev
    So sorry to hear that. Please know that your health is more important than any software project.
    whytheplatypus
    @whytheplatypus_gitlab

    Hi all,

    first off ty for this library, it's made some really interesting ideas possible for me in the last couple years.

    I put together an ostensibly working version of fetch using protocol v2 based on the WIP that existed https://github.com/isomorphic-git/isomorphic-git/compare/main...whytheplatypus:feat/v2-fetch .. should I clean this up and open a PR?

    rhedin
    @rhedin
    Hi, all. I am trying to write a replacement for Twitter, that doesn't use a central server, where some entity can control what we say. I have a question. If Jim has a repository in lightning-fs in his browser, can Bob clone the repository into his browser? Without it touching down on Jim's laptop?
    Jakub T. Jankiewicz
    @jcubic
    @rhedin you need to use WebRTC but both computers need to initialize connection, you can just use on side this would be really serious vulnerability.
    Note WebRTC require additional servers (STUN/TUNR) that will translate the IP adresses (not sure if they are used as proxy to transfer the data).
    rhedin
    @rhedin
    Thanks, Jakub. I found WebRTC. You're right; it seems to be what I need. I also found Gun (unfortunate name). Gun seems to be a platform built on WebRTC. I would say more about what Gun's goals are, but that is still cloudy to me.
    TranceGeniK
    @TranceGeniK
    hello :)
    I'm trying to clone a big repo and got this error RangeError: Invalid typed array length: 2171254021, any wait to increase the array size ?
    TranceGeniK
    @TranceGeniK
    way*
    Jakub T. Jankiewicz
    @jcubic
    I think this is browser limitation you don't want to clone GB of data into browser tab
    TranceGeniK
    @TranceGeniK
    I'm using it in a desktop electron app, the data is cloned on the hard drive
    Jakub T. Jankiewicz
    @jcubic
    from Node? This may be the limitations of the JS Engine then, I think that you should create an issue, but I'm not sure if you can fix it, maybe the library can split the data into chunks, I'm not sure how internals works
    TranceGeniK
    @TranceGeniK
    both Http clients seem to be using Uint8Array, I'm not sure if we can avoid that
    I'll create an issue then, thanks for your help
    reubenfirmin
    @reubenfirmin

    hey @jcubic - like rhedin, I'm building an entirely client side (i.e. "serverless") app. I'm looking into the feasibility of making isomorphic-git work peer-to-peer over webrtc without any server based repository as a way to sync shared content. in my scenario there'd be worst case a few dozens of users on a given repository.

    assuming i have the webrtc wiring taken care of, do you see any challenges in making isopmorphic-git work p2p? presumably i somehow want to wire "fetch" with the webrtc peer connection, with some kind of lighterweight protocol sitting on top to indicate that other clients need to sync with a repo where changes were just made

    Jakub T. Jankiewicz
    @jcubic
    @reubenfirmin Sorry I don't know the answer, it would be cool to make it work with WebRTC thought. I think that you will need to read the source of isomorphic git to figure that out. Maybe abstract data transfer into plugin and create PR. I think it would nice to have another use case and make isogit more flexible, but I would ask @wmhilton if he would be willing to incorporate something like this in the codebase.
    It would be nice to share the code with other people and don't use any server. Maybe if I find some free time I will check the code. I've never actually read the code myself, just looked at few things and fixed one bug I think.
    alisscco
    @alisscco
    Anyone can advice which repo I need to keep my Java script data enabled.. seems lol to be constantly switched .
    Stephen J. Carnam
    @Steveorevo
    I'm trying to use isogit fastForward but am getting a "local changes... would be overwritten". How do overwrite/abandon local changes?
    Jakub T. Jankiewicz
    @jcubic
    But the code is old maybe there was something added to the library to make this easier
    Here is old issue about git reset isomorphic-git/isomorphic-git#129
    Ilya Radchenko
    @knownasilya
    Having a hard time writing a file. The ArrayBuffer says it's 53037 bytes, but when the commit appears there is no additions and deletions
     await fs.promises.writeFile(
          `/${imageFolder}/${file.name}`,
          new Uint8Array(buffer)
        );
    
        let status = await this.git.statusMatrix({
          fs,
          dir: `/${imageFolder}`,
        });
        console.log(status);
    
        await this.git.add({
          fs,
          dir: `/${imageFolder}`,
          filepath: file.name,
        });
    
        await this.git.commit({
          fs,
          dir: '/',
          author: this.author,
          message: `Updated the '${serializer.title}' header image`,
        });
    Jakub T. Jankiewicz
    @jcubic
    I'm not exactly sure, but make sure that your dir is the dir to the repo and filepath is a full path to the file.
    Ilya Radchenko
    @knownasilya
    Status matrix after add shows ["Screen Shot 2021-06-07 at 1.45.49 PM.png", 0, 2, 2]
    Oh. Trying!
    Jakub T. Jankiewicz
    @jcubic
    if your repo is in / then you should put dir: "/" in every git function, it sems that you mix them
    Ilya Radchenko
    @knownasilya
    I wish isomorphic git worked like this const repo = new Git({ dir: '/', ...}); repo.add(filepath) so I didn't have to repeat myself in every method.
    Thanks @jcubic that worked
    Jakub T. Jankiewicz
    @jcubic
    You can always write facade interface that will work like this
    Ilya Radchenko
    @knownasilya
    Yeah, and I probably will, but it's extra work.
    Dan Allen
    @mojavelinux
    The power and flexibility of isomorphic-git comes from it's functional approach. I would strongly recommend against changing it.
    Jakub T. Jankiewicz
    @jcubic
    You don't need to change it but if someone prefer different way he can create a wrapper.
    Dan Allen
    @mojavelinux
    Exactly. The fact that you can create a wrapper only shows how useful the functional interface is.
    (and I have done that in my applications in various ways...and it's always easier to work with functions than it would be if isomorphic-git had it's own OO interface)
    Dan Allen
    @mojavelinux
    Is there anyone who has access to merge changes and make releases of isomorphic-git? I'm worried it's becoming fallow. As a community, we should do something to rectify this situation.
    Jakub T. Jankiewicz
    @jcubic
    I'm not able to even merge a PR
    Dan Allen
    @mojavelinux
    Would you be interested in doing so, assuming others contributed as well? I could reach out to William and see if he is willing to put together a group of maintainers.
    My project is deeply invested in isomorphic-git and I cannot afford to let it go. However, I am very crunched for time, so I would only be able to help as part of a group.
    Jakub T. Jankiewicz
    @jcubic
    I don't know if I will find time, but if the work only will involve checking the PR and merging then I think I can do this. There are a lot of PR waiting for review
    Also if there would more maintainers there will not be a single person that need to do all the work
    I was planning to do another project that suppose be using Isomorphic-git
    Dan Allen
    @mojavelinux
    I don't know of a better foundation that's perfectly portable wherever Node runs (and beyond). What I'm most interested in is that outstanding PRs don't get stuck and that the dependencies are kept up to date. And I could definitely help with that part. I'll reach out to William and see if he will help onboard some maintainers. Fingers crossed.
    Nicholas Nelson
    @nelsonni
    I also want to see isomorphic-git continue to be supported, and hopefully grow into some of the missing features (merging is at the top of my personal list). But I'm in the ending stages of my PhD, so I also have limited time. I've contributed code in the past, and would be willing to help keep the lights on along with a group of maintainers.
    Dan Allen
    @mojavelinux
    Thanks @nelsonni! I think by working together, we can ease the burden on any one individual.
    William Hilton
    @wmhilton
    @mojavelinux Thanks for reaching out on Twitter. As I noted here a while back (https://gitter.im/isomorphic-git/Lobby?at=600dc652d8bdab4739586e16) I'd love it if the community created a rejuvenated fork and let isogit kind of rest in peace. But in the meantime I'll make you and @jcubic admins so you can merge PRs if you like.
    Dan Allen
    @mojavelinux
    Thanks @wmhilton! Much appreciated. We will do right by the project and maintain it with the same integrity as you have for many years.
    Jakub T. Jankiewicz
    @jcubic
    @wmhilton Awsome thanks.