Skip to content

Commit

Permalink
chore: change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
cbermudez97 committed Dec 4, 2021
1 parent 4a00d24 commit 1706e00
Show file tree
Hide file tree
Showing 19 changed files with 60 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[run]
omit =
dvm/__main__.py
dart_version_manager/__main__.py
tests/*
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We're using the following branches to manage work:

## How to report bugs

We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/educup/dvm/issues/new/choose); it's that easy!
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/educup/dart_version_manager/issues/new/choose); it's that easy!

### Write bug reports with detail, background, and sample code

Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# `Dart Package Manager`
# `Dart Version Manager`

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Test](https://github.com/educup/dvm/workflows/CI/badge.svg)](https://github.com/educup/dvm/actions?query=workflow%3ACI)
[![Version](https://img.shields.io/pypi/v/dvm?color=%2334D058&label=Version)](https://pypi.org/project/dvm)
[![Last commit](https://img.shields.io/github/last-commit/educup/dvm.svg?style=flat)](https://github.com/educup/dvm/commits)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/educup/dvm)](https://github.com/educup/dvm/commits)
[![Github Stars](https://img.shields.io/github/stars/educup/dvm?style=flat&logo=github)](https://github.com/educup/dvm/stargazers)
[![Github Forks](https://img.shields.io/github/forks/educup/dvm?style=flat&logo=github)](https://github.com/educup/dvm/network/members)
[![Github Watchers](https://img.shields.io/github/watchers/educup/dvm?style=flat&logo=github)](https://github.com/educup/dvm)
[![Website](https://img.shields.io/website?up_message=online&url=https%3A%2F%2Feducup.github.io/dvm)](https://educup.github.io/dvm)
[![GitHub contributors](https://img.shields.io/github/contributors/educup/dvm)](https://github.com/educup/dvm/graphs/contributors)
[![Test](https://github.com/educup/dart_version_manager/workflows/CI/badge.svg)](https://github.com/educup/dart_version_manager/actions?query=workflow%3ACI)
[![Version](https://img.shields.io/pypi/v/dart_version_manager?color=%2334D058&label=Version)](https://pypi.org/project/dart_version_manager)
[![Last commit](https://img.shields.io/github/last-commit/educup/dart_version_manager.svg?style=flat)](https://github.com/educup/dart_version_manager/commits)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/educup/dart_version_manager)](https://github.com/educup/dart_version_manager/commits)
[![Github Stars](https://img.shields.io/github/stars/educup/dart_version_manager?style=flat&logo=github)](https://github.com/educup/dart_version_manager/stargazers)
[![Github Forks](https://img.shields.io/github/forks/educup/dart_version_manager?style=flat&logo=github)](https://github.com/educup/dart_version_manager/network/members)
[![Github Watchers](https://img.shields.io/github/watchers/educup/dart_version_manager?style=flat&logo=github)](https://github.com/educup/dart_version_manager)
[![Website](https://img.shields.io/website?up_message=online&url=https%3A%2F%2Feducup.github.io/dart_version_manager)](https://educup.github.io/dart_version_manager)
[![GitHub contributors](https://img.shields.io/github/contributors/educup/dart_version_manager)](https://github.com/educup/dart_version_manager/graphs/contributors)

Dart Version Manager CLI implemented with Python and Typer

Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions dart_version_manager/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from dart_version_manager.main import app

app(prog_name="dvm")
7 changes: 7 additions & 0 deletions dart_version_manager/commands/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from dart_version_manager.commands.build_command import app as build_app
from dart_version_manager.commands.major_command import app as major_app
from dart_version_manager.commands.minor_command import app as minor_app
from dart_version_manager.commands.patch_command import app as patch_app
from dart_version_manager.commands.pre_release_command import app as pre_release_app

__all__ = [build_app, major_app, minor_app, patch_app, pre_release_app]
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import typer

from dvm.core import DartVersion, NoVersionError
from dvm.utils import filename_option
from dart_version_manager.core import DartVersion, NoVersionError
from dart_version_manager.utils import filename_option

app = typer.Typer(help='Manage "build" tag')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import typer

from dvm.core import DartVersion, NoVersionError
from dvm.utils import filename_option
from dart_version_manager.core import DartVersion, NoVersionError
from dart_version_manager.utils import filename_option

app = typer.Typer(help='Manage "major" version')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import typer

from dvm.core import DartVersion, NoVersionError
from dvm.utils import filename_option
from dart_version_manager.core import DartVersion, NoVersionError
from dart_version_manager.utils import filename_option

app = typer.Typer(help='Manage "minor" version')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import typer

from dvm.core import DartVersion, NoVersionError
from dvm.utils import filename_option
from dart_version_manager.core import DartVersion, NoVersionError
from dart_version_manager.utils import filename_option

app = typer.Typer(help='Manage "patch"')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import typer

from dvm.core import DartVersion, NoVersionError
from dvm.utils import filename_option
from dart_version_manager.core import DartVersion, NoVersionError
from dart_version_manager.utils import filename_option

app = typer.Typer(help='Manage "pre-release" tag')

Expand Down
File renamed without changes.
12 changes: 9 additions & 3 deletions dvm/main.py → dart_version_manager/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@

import typer

from dvm.core import DartVersion, NoVersionError, InvalidDataError
from dvm.commands import build_app, major_app, minor_app, patch_app, pre_release_app
from dvm.utils import filename_option
from dart_version_manager.core import DartVersion, NoVersionError, InvalidDataError
from dart_version_manager.commands import (
build_app,
major_app,
minor_app,
patch_app,
pre_release_app,
)
from dart_version_manager.utils import filename_option

app = typer.Typer(help="Dart Version Manager CLI implemented with Python and Typer")

Expand Down
File renamed without changes.
20 changes: 10 additions & 10 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# `Dart Package Manager`
# `Dart Version Manager`

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Test](https://github.com/educup/dvm/workflows/CI/badge.svg)](https://github.com/educup/dvm/actions?query=workflow%3ACI)
[![Version](https://img.shields.io/pypi/v/dvm?color=%2334D058&label=Version)](https://pypi.org/project/dvm)
[![Last commit](https://img.shields.io/github/last-commit/educup/dvm.svg?style=flat)](https://github.com/educup/dvm/commits)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/educup/dvm)](https://github.com/educup/dvm/commits)
[![Github Stars](https://img.shields.io/github/stars/educup/dvm?style=flat&logo=github)](https://github.com/educup/dvm/stargazers)
[![Github Forks](https://img.shields.io/github/forks/educup/dvm?style=flat&logo=github)](https://github.com/educup/dvm/network/members)
[![Github Watchers](https://img.shields.io/github/watchers/educup/dvm?style=flat&logo=github)](https://github.com/educup/dvm)
[![Website](https://img.shields.io/website?up_message=online&url=https%3A%2F%2Feducup.github.io/dvm)](https://educup.github.io/dvm)
[![GitHub contributors](https://img.shields.io/github/contributors/educup/dvm)](https://github.com/educup/dvm/graphs/contributors)
[![Test](https://github.com/educup/dart_version_manager/workflows/CI/badge.svg)](https://github.com/educup/dart_version_manager/actions?query=workflow%3ACI)
[![Version](https://img.shields.io/pypi/v/dart_version_manager?color=%2334D058&label=Version)](https://pypi.org/project/dart_version_manager)
[![Last commit](https://img.shields.io/github/last-commit/educup/dart_version_manager.svg?style=flat)](https://github.com/educup/dart_version_manager/commits)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/educup/dart_version_manager)](https://github.com/educup/dart_version_manager/commits)
[![Github Stars](https://img.shields.io/github/stars/educup/dart_version_manager?style=flat&logo=github)](https://github.com/educup/dart_version_manager/stargazers)
[![Github Forks](https://img.shields.io/github/forks/educup/dart_version_manager?style=flat&logo=github)](https://github.com/educup/dart_version_manager/network/members)
[![Github Watchers](https://img.shields.io/github/watchers/educup/dart_version_manager?style=flat&logo=github)](https://github.com/educup/dart_version_manager)
[![Website](https://img.shields.io/website?up_message=online&url=https%3A%2F%2Feducup.github.io/dart_version_manager)](https://educup.github.io/dart_version_manager)
[![GitHub contributors](https://img.shields.io/github/contributors/educup/dart_version_manager)](https://github.com/educup/dart_version_manager/graphs/contributors)

Dart Version Manager CLI implemented with Python and Typer

Expand Down
3 changes: 0 additions & 3 deletions dvm/__main__.py

This file was deleted.

7 changes: 0 additions & 7 deletions dvm/commands/__init__.py

This file was deleted.

6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
site_name: Dart Version Manager
site_url: https://github.com/educup/dvm
repo_url: https://github.com/educup/dvm
edit_uri: "https://github.com/educup/dvm/edit/main/docs"
site_url: https://github.com/educup/dart_version_manager
repo_url: https://github.com/educup/dart_version_manager
edit_uri: "https://github.com/educup/dart_version_manager/edit/main/docs"
copyright: Developed with ❤️ for EducUp

theme:
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[tool.poetry]
name = "dvm"
version = "1.0.1"
name = "dart_version_manager"
version = "1.0.0"
description = "Dart Version Manager CLI implemented with Python and Typer."
authors = ["educup <[email protected]>"]
homepage = "https://github.com/educup/dvm"
repository = "https://github.com/educup/dvm"
documentation = "https://github.com/educup/dvm"
homepage = "https://github.com/educup/dart_version_manager"
repository = "https://github.com/educup/dart_version_manager"
documentation = "https://github.com/educup/dart_version_manager"
readme = "README.md"
license = "MIT"

[tool.poetry.scripts]
dvm = "dvm.main:app"
dvm = "dart_version_manager.main:app"

[tool.poetry.dependencies]
python = "^3.8"
Expand Down

0 comments on commit 1706e00

Please sign in to comment.