kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #28093
Re: [RFC] Future of GitHub libraries
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Wed, 22 Feb 2017 16:51:35 -0500
-
In-reply-to:
<CAMfgvU-WWjAscHWM_derNvfSV-kW8vqCAh=Av8VUx5BaO=SE3Q@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
As long as it doesn't break the current github plugin behavior, then
that's fine. Otherwise it needs to be a separate plugin.
On 2/22/2017 4:46 PM, Oliver Walters wrote:
> Kevin,
>
> This is how I think it should work too. When I get some time I will look
> into how the current github plugin works, perhaps it can be improved to
> support this functionality.
>
> On Thu, Feb 23, 2017 at 6:49 AM, Kevin Cozens <kevin@xxxxxxxxx
> <mailto:kevin@xxxxxxxxx>> wrote:
>
> On 2017-02-17 09:30 AM, Wayne Stambaugh wrote:
>
> On 2/16/2017 6:19 PM, Oliver Walters wrote:
>
> iii) Excessive bandwidth - Each time a .pretty lib is loaded, it
> downloads a zip of the entire library? If we were making use
> of git
> functionality it would be simple to just update the library
> (and store a
> local cache) and thus only download the diff rather than
> re-download the
> entire thing.
>
>
> Once again, a git plugin solves this problem nicely.
>
>
> Bandwidth can be saved by saving .pretty libs on the local hard
> drive instead of temporarily caching them. It also means ones that
> have been previously requested will be available even when the
> computer has no net access.
>
> When someone needs a .pretty lib you check if it is already on the
> local drive. If not, download it and save to the local drive. If the
> library is already on the local drive check the time and date of the
> remote copy. If the remote version is newer than the local copy
> download library and save it to the local HD.
>
> That's the simple way to reduce bandwidth requirements. The
> "download" portion of the process could involve using source code
> control to update the local copy instead of downloading the entire
> library.
>
> --
> Cheers!
>
> Kevin.
>
> http://www.ve3syb.ca/ |"Nerds make the shiny things that
> distract
> Owner of Elecraft K2 #2172 | the mouth-breathers, and that's
> why we're
> | powerful!"
> #include <disclaimer/favourite> | --Chris Hardwick
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References