Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use decred.org/dcrwallet as main module name #1538

Merged
merged 1 commit into from
Sep 13, 2019
Merged

Conversation

jrick
Copy link
Member

@jrick jrick commented Aug 23, 2019

This modifies packages of the main module to begin with the
decred.org/dcrwallet prefix. This is a long overdue change since the
conversion to modules technically should have caused a /v2 module to
be created, but due to other project decisions, it was not possible to
bump dcrwallet's major version to 2. Renaming the module has the same
desired effect, however.

Because this change creates a new (and unrelated) module to the
previous github.com/decred/dcrwallet module, this opportunity is used
to move all packages from the main module which are not versioned or
intended for external consumption under the internal directory.

Because this module shares the same git repo and history as
github.com/decred/dcrwallet, versioning will begin at 1.5.0.

To simplify this conversion process, the
github.com/decred/dcrwallet/internal/zero module has been discarded.
It is easier to copy the zero functions where needed rather than
maintaining an internal package across many modules with different
prefixes.

This change will eventually allow the latest release of dcrwallet to
be installed with go get with the simple command:

$ go get decred.org/dcrwallet

This modifies packages of the main module to begin with the
decred.org/dcrwallet prefix.  This is a long overdue change since the
conversion to modules technically should have caused a /v2 module to
be created, but due to other project decisions, it was not possible to
bump dcrwallet's major version to 2.  Renaming the module has the same
desired effect, however.

Because this change creates a new (and unrelated) module to the
previous github.com/decred/dcrwallet module, this opportunity is used
to move all packages from the main module which are not versioned or
intended for external consumption under the internal directory.

Because this module shares the same git repo and history as
github.com/decred/dcrwallet, versioning will begin at 1.5.0.

To simplify this conversion process, the
github.com/decred/dcrwallet/internal/zero module has been discarded.
It is easier to copy the zero functions where needed rather than
maintaining an internal package across many modules with different
prefixes.

This change will eventually allow the latest release of dcrwallet to
be installed with go get with the simple command:

  $ go get decred.org/dcrwallet
@jrick jrick merged commit 2ab504a into decred:master Sep 13, 2019
@jrick jrick deleted the decred.org branch September 13, 2019 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants