buildutil

package
v0.16.2-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PyPiVersionFromNpmVersion

func PyPiVersionFromNpmVersion(s string) (string, error)

PyPiVersionFromNpmVersion returns a PEP-440 compliant version for a given semver version. This method does not support all possible semver strings, but instead just supports versions that we generate for our node packages.

NOTE: We do not include git information in the generated version (even within the local part, which PEP440 would allow) because we publish dev packages to PyPI, which does not allow local parts. Instead, we only add a local part when the build is dirty (which has the nice side effect of preventing us from publishing a build from dirty bits).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL