Skip to content

Commit

Permalink
V1.0.7 (#30)
Browse files Browse the repository at this point in the history
* v1.0.7 (#28)

* Bump pygithub from 1.58.2 to 1.59.0
* feat: deprecated legacy wheel & updated Config class for PyGithub@1.59

Bumps [pygithub](https://github.com/pygithub/pygithub) from 1.58.2 to 1.59.0.
- [Release notes](https://github.com/pygithub/pygithub/releases)
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst)
- [Commits](PyGithub/PyGithub@v1.58.2...v1.59.0)

---
updated-dependencies:
- dependency-name: pygithub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: organize file operations in config module (#29)

* feat: migrate PyGithub and make it compatible

* chore: update package info

* chore: updated .gitignore

* feat: deprecated legacy wheel & updated Config class for PyGithub@1.59

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Masoud Ghorbani <masoudghorbani@pm.me>

* chore: reduced number of installed packages

* ci: install dev group dependencies in test pipeline

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
msudgh and dependabot[bot] committed Jul 5, 2023
1 parent fe8568a commit 4da47d5
Show file tree
Hide file tree
Showing 12 changed files with 185 additions and 160 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install dependencies
shell: bash
run: |
poetry install
poetry install --with dev
# All python related commands should be executed by poetry run.
# Checkout the following examples.
- name: Lint with flake8
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -102,3 +102,6 @@ ENV/
.vscode/settings.json
.pytest_cache
.pypirc

# MacOS
.DS_Store
64 changes: 34 additions & 30 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 28 additions & 13 deletions pyproject.toml
@@ -1,26 +1,41 @@
[tool.poetry]
name = "syncshell"
version = "1.0.6"
description = "Keep your machine's shell history synchronized."

version = "v1.0.7"
description = "Keep your machine's shell history synchronized"
license = "MIT"

authors = ["Masoud Ghorbani <msud.ghorbani@gmail.com>"]

authors = ["Masoud Ghorbani <masoudghorbani@pm.me>"]
readme = "README.md"

repository = "https://github.com/msudgh/syncshell"
homepage = "https://github.com/msudgh/syncshell"

keywords = ["sync", "shell", "history", "bash", "zsh"]
include = [
{ path = ".syncshell.ini", format = "wheel" },
{ path = "README.md", format = "wheel" },
{ path = "pyproject.toml", format = "wheel" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Natural Language :: English",
"Topic :: Utilities",
"Topic :: System :: Shells",
"Topic :: Software Development",
]

[tool.poetry.dependencies]
python = "^3.8.16"
black = "23.3.0"
fire = "0.5.0"
flake8 = "6.0.0"
halo = "0.0.31"
PyGithub = "1.58.2"
PyGithub = "1.59.0"

[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
black = "23.3.0"
pytest = "7.4.0"
pytest-testdox = "^3.0.1"

Expand All @@ -35,5 +50,5 @@ exclude = '''
'''

# Ref: https://python-poetry.org/docs/pyproject/#scripts
[project.scripts]
syncshell = "syncshell.__main__:main"
[tool.poetry.scripts]
syncshell = "syncshell.cli:main"
4 changes: 0 additions & 4 deletions setup.cfg

This file was deleted.

51 changes: 0 additions & 51 deletions setup.py

This file was deleted.

13 changes: 0 additions & 13 deletions syncshell/__main__.py

This file was deleted.

7 changes: 6 additions & 1 deletion syncshell/cli.py
Expand Up @@ -9,10 +9,11 @@
from github import Github, InputFileContent, UnknownObjectException
from syncshell.utils import constants, spinner as Spinner
from syncshell.utils.config import SyncShellConfig
from fire import Fire

# Configuration
config = SyncShellConfig()
config.read()
config.read_config()


class Application:
Expand Down Expand Up @@ -197,3 +198,7 @@ def download(self):
sys.exit(1)
except OSError:
sys.exit(1)


def main():
Fire(Application)

0 comments on commit 4da47d5

Please sign in to comment.