202106-09 完美解决golang go get私有仓库的问题 解决golanggogetgitlab私有仓库的问题(1.13)1.问题描述require(git.xxxxxxx.com/middle/userv0.0.1)gomodtidy导入包失败gogetgit.xxxxxxx.com/middle/user失败gobuild有CHECKSUM过程,无法编译2.现象分析goget不支持代码支持之外的仓库。并且git调用链过程采取了https下载过程如果机器设置了GOPROXY,会导致下载失败编译过程会导致CHECKSUM失败3.物料物料说明... 继续阅读 >
202011-29 如何使用Docker搭建pypi私有仓库 一、搭建1、准备htpasswd.txt文件该文件内容包含上传包至仓库时验证的用户名和密码pipinstallhtpasswdhtpasswd-schtpasswd.txt<username>2、启动容器dockerrun--namepypiserver--restart=always-v/data/pypi/packages:/data/packages-v/root/htpasswd.txt:/data/htpasswd.txt-p8080:8080-dpypiserver/pypiserver-Phtpasswd.txtpackages#需在宿主机上提前建立好data目录及htpasswd.txt文件3、设置nginx反向代理... 继续阅读 >
202011-25 搭建pypi私有仓库实现过程详解 1.安装依赖pipinstallpypiserverpasslib2.创建packages目录mkdirpackages3.以无认证方式启动pypiserverpypi-server-p8080-P.-a../packages4.编写.pypirc配置文件[distutils]index-servers=pypilocal[pypi]username:xxxpassword:xxxx[local]repository:http://localhost:8080username:password:5.上传到私有pypi服务使用setuptools上传pythonsetup.pysdistbdist_wheelupload-rlocal使用twine上传twineuploa... 继续阅读 >