Rubigo is a DEPRECATED dependency tool and package manager for Golang, written in Rust. Rubigo uses
vendor directory (starting from Go 1.5) to install packages, however it is possible to add packages globally (in
GOPATH/src directory) or make a local package in
vendor directory. Rubigo respects to manual changes in
vendor directory and does not delete custom packages. Currently, Rubigo only supports
git repositories. This source code is licensed under MIT license that can be found in the LICENSE file.
Consider using Go versioned modules:
rm -r vendor rubigo.json rubigo.lock
go mod init
Rubigo creates two JSON (manifest) files (
rubigo.lock) inside the directory of Golang project. The
rubigo.json contains the information of the project and packages which should be installed and maintained, and
rubigo.lock contains the information of packages which have already been installed in
vendor directory or globally in
GOPATH/src. You could edit both files manually or using Rubigo sub-commands, then you can apply them to project's dependencies. Also, it is feasible to start Rubigo in an existing project.
You can download a pre-built binary from releases page or you can build it manually as following:
Visual Studio C++.
cargoto install the application:
cargo install --git https://github.com/yaa110/rubigo.git
rubigo init. This sub-command searches the
vendordirectory for packages which has already been installed.
rubigo new my-projector
rubigo new --lib my-library. This sub-command creates a new directory with the name provided to it containing a new
.gofile and manifest files.
rubigo get github.com/blah/blah --repo=github.com/my/custom/repo(the
--repoargument is optional). This sub-command could also install packages globally to
--globalflag or create a local package using
rubigo.lockand packages in
rubigo update github.com/blah/blah. This sub-command could also delete the package's directory and clone it again using
--cleanflag. If no package name is provided, it updates all the packages.
rubigo remove github.com/blah/blah.
rubigo.lockto packages in
rubigo apply. This sub-command could also delete the package's directory and clone it again using
--cleanflag. Most of the time, it is used when you have cloned a project and wanted to install missing packages.
rubigo reset. It is used when you have manually changed the
vendordirectory and wanted to update manifest files. Please note that this subcommand only collects git packages and ignores local packages.
rubigo list. This sub-command could only list git, local or global packages (or a combination of them) using
rubigo help. It is also possible to get the information of a sub-command, e.g.
rubigo help get.
rubigo.jsoncontains this object.
Please feel free to open an issue to report a bug or ask a question, or open a pull request to debug or add more features to Rubigo.
Enforcing per team quota (sum of used resources across all their namespaces) and delegating the per namespace quota to users.
🧺 A practical store microservices sample, built with Golang, Domain-Driven Design, CQRS, Event Sourcing, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
SSE over QUIC protocol
A curated list of awesome articles and resources for learning and practicing Go and its related technologies.
Wait4X allows you to wait for a port or a service to enter the requested state.
A lightweight yet powerful configuration manager for the Go programming language
Make your URLs shorter (smaller) and more memorable in Go