在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:larsks/git-remote-ipfs开源软件地址:https://github.com/larsks/git-remote-ipfs开源编程语言:Python 100.0%开源软件介绍:This is a gitremote helper permitting git to clone from and push to ipfs. Note that while it works in principal, it is only mildly useful until such time as the ipfs project introduces support for publishing multiple names via ipns. INSTALLATIONYou can install this module directly using
You can of course also clone it and run SPECIFYING AN IPFS REMOTEUsing IPFS style pathsBecause paths like
The code is able to resolve ipns names, so this will also work:
Note that ipns support is effectively useless right now, until it becomes possible to publish more than a single name per client. Using IPFS URLsThis code also supports a URL format for ipfs remotes. For explicit
hashes (the equivalent of
So:
For ipns names, the format is:
Yes, the difference is a single EXAMPLE USAGEPushing to ipfs
Cloning from ipfsTo clone from ipfs the repository pushed in the previous example:
KNOWN BUGSThe support for ipns references is completely untested at this point. While an initial clone from an ipns name should work, there is no code for updating the name with a new HEAD when pushing changes. DEBUGGINGYou can enable verbose debugging by setting LICENSEgit-remote-ipfs -- a gitremote helper for ipfs This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论