Coa是一个去中心化、开源(MIT)、C/C++包管理器。
它是完全去中心化的,用户可以私下将他们的包托管在他们的服务器上适用于所有平台,包括Liux、OSX、Widows、Solaris、FreeBSD、Docker、WSL管理二进制文件。它可以为任何配置和平台创建、上传和下载二进制文件,甚至交叉编译,节省大量的开发和持续集成时间。与任何构建系统集成,包括任何专有和自定义系统。可扩展:具有强大的功能和灵活性设置$pipistallcoa安装开发版本可以在Widows、macOS和Liux中运行Coa客户端和服务器
安装pip
克隆Coa仓库:
$gitcloehttps://github.com/coa-io/coa.gitcoa-io注意:存储库目录名称很重要,已知某些目录在运行测试时会出现问题以可编辑模式安装
$cdcoa-io&&sudopipistall-e.如果安装在Widows中,则不需要使用sudo
尝试运行Coa:
$coa--helpCosumercommadsistallIstallstherequiremetsspecifiediarecipe(coafile.pyorcoafile.txt).cofigMaagesCoacofiguratio.getGetsafileorlistadirectoryofagiverefereceorpackage.ifoGetsiformatioaboutthedepedecygraphofarecipe.searchSearchespackagerecipesadbiariesithelocalcacheoraremote.Ulessaremoteisspecifiedolythelocalcacheissearched.CreatorcommadsewCreatesaewpackagerecipetemplatewitha'coafile.py'adoptioally,'test_package'testigfiles.createBuildsabiarypackageforarecipe(coafile.py).uploadUploadsarecipeadbiarypackagestoaremote.exportCopiestherecipe(coafile.py&associatedfiles)toyourlocalcache.export-pkgExportsarecipe,thecreatesapackagefromlocalsourceadbuildfolders.testTestsapackagecosumigitfromacoafile.pywithatest()method.PackagedevelopmetcommadssourceCallsyourlocalcoafile.py'source()'method.buildCallsyourlocalcoafile.py'build()'method.packageCallsyourlocalcoafile.py'package()'method.editableMaageseditablepackages(packagesthatresideitheuserworkspace,butarecosumedasiftheywereithecache).workspaceMaagesaworkspace(asetofpackagescosumedfromtheuserworkspacethatbelogstothesameproject).MisccommadsprofileListsprofilesithe'.coa/profiles'folder,orshowsprofiledetails.remoteMaagestheremotelistadthepackagerecipesassociatedwitharemote.userAutheticatesagaistaremotewithuser/pass,cachigtheauthtoke.importsCallsyourlocalcoafile.pyorcoafile.txt'imports'method.copyCopiescoarecipesadpackagestoaotheruser/chael.removeRemovespackagesorbiariesmatchigpatterfromlocalcacheorremote.aliasCreatesadexportsa'aliaspackagerecipe'.dowloadDowloadsrecipeadbiariestothelocalcache,withoutusigsettigs.ispectDisplayscoafileattributes,likeame,versio,adoptios.Workslocally,ilocalcacheadremote.helpShowshelpforaspecificcommad.lockGeeratesadmaipulateslockfiles.frogariaCoaTheFrogariaCoacommads.Type"coa<commad>-h"forhelp







评论