Git Product home page Git Product logo

Comments (4)

oconnor663 avatar oconnor663 commented on July 23, 2024

The plugin cache lock and the parallelism semaphore could probably move down into plugins.py. Then RemoteModule.reup wouldn't need any additional locks, and RemoteModule.get_tree could just concern itself with the module lock.

from peru.

oconnor663 avatar oconnor663 commented on July 23, 2024

One issue with this scheme: the git plugin needs to be able to fetch subrepos. If everything lives in keyed dir created by peru, where is the plugin supposed to put the subrepo?

from peru.

oconnor663 avatar oconnor663 commented on July 23, 2024

Note that the previous way of doing this (where the git plugin could predict where caches for other git modules were supposed to live, and write to them) had the benefit of sharing caches on disk, but it still didn't allow fetching submodules in parallel, which is the really important thing. And of course it was unsafe once parallelism was introduced.

from peru.

oconnor663 avatar oconnor663 commented on July 23, 2024

https://phabricator.buildinspace.com/D70
https://phabricator.buildinspace.com/D71

from peru.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.