skshetry
6df70d388e
update pre-commit; add some more hooks ( #8492 )
...
* update pre-commit; add some more hooks
* Apply suggestions from code review
2022-10-31 21:04:11 +05:45
Christian Clauss and Saugat Pachhai
40f24e5668
pre-commit: introduce codespell check
...
* codespell --ignore-words-list="ba,datas,fo"
* up-to-date -> uptodate
* Add pre-commit hook...
* Pre-commit needs quotes?
* Single quotes?
* Arrrgggsss
* Update .pre-commit-config.yaml
Co-authored-by: Saugat Pachhai <[email protected] >
Co-authored-by: Saugat Pachhai <[email protected] >
2021-07-07 17:14:15 +02:00
Saugat Pachhai
b9000ed926
pre-commit: update black to 21.5b1 ( #6032 )
...
* pre-commit: update black to 21.5b1
also updated others, but black is more noticeable
* remove magic trailing comma
2021-05-18 15:51:15 +00:00
Ruslan Kuprieiev
19cdef1675
build: separate building and packaging ( #5675 )
...
* build: separate pyinstaller and fpm/innosetup
* gha: upload deb/rpm/osxpkg/exe artifacts
* build: dynamically generate dvc version
2021-03-23 19:55:44 +02:00
Ruslan Kuprieiev
685e76cfbe
gitignore: add config.ini
...
Generated by innosetup.
2020-11-09 13:25:45 +02:00
Ruslan Kuprieiev
15c787f2ac
innosetup: commit images
2020-06-18 23:39:33 +03:00
Ruslan Kuprieiev
a7b77672e6
innosetup: rename exe app name
...
Fixes https://github.com/iterative/dvc/issues/3687
2020-04-28 16:08:17 +03:00
Mr. Outis
27f581cf4e
py3: remove imports from utils.compat
2019-12-31 23:16:11 -06:00
Saugat Pachhai
461a79e1e8
Fix typos
2019-11-26 20:07:20 +05:45
Ruslan Kuprieiev
add0958019
win: inno: use SuppressibleMsgBox instead of MsgBox
2019-11-09 01:47:49 +02:00
Mr. Outis
b4d0d37ac8
dvc: refactor package versioning logic
...
- Use `version.py` to compute a dynamic version stored in `__version__`.
Version information was scattered across the source code
(`VERSION_BASE`, `VERSION`, `__version__`, and `version.py`).
- Read `__version__` from `setup.py` and **pin** it using custom
`build_py` command class.
This way, we can maintain consistancy between the build version
and the runtime one.
Also, this gives us the ability to run `setup.py` without depending on
on `dvc` itself.
Close #1824
2019-04-06 18:06:11 -06:00
Ruslan Kuprieiev
cb8e24237f
windows: gen_config: don't use compat open
2019-02-09 07:31:59 +02:00
Mr. Outis
2be7232d1a
py2: Add unicode support for open and os.walk
2019-02-07 23:33:30 -06:00
Ruslan Kuprieiev
91edbc65f2
dvc: format the rest of the files with black
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-02-01 14:49:53 +02:00
Mr. Outis
0d46921ec7
py2: add unicode literals
...
Fix #1512
2019-01-27 20:40:21 -06:00
Ruslan Kuprieiev
e1f736eaad
daemon: fix daemon when running in binary mode
...
When running from binary, we need to fixup environment variables
before launching new processes. We also need to detach from the parent
tty, because otherwise it causes problems for PyInstaller.
Plus, when binary is built as --onefile it still creates pop-up terminal
on windows, so we need to switch to --onedir.
Fixes #1446
Fixes #1444
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-18 18:13:55 +02:00
Ruslan Kuprieiev
a581373856
innosetup: use new images
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-21 01:22:00 +03:00
Ruslan Kuprieiev
fb53760130
innosetup: use dvc to store images
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-21 00:02:57 +03:00
Ruslan Kuprieiev
a87972c354
innosetup: remove imgs
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-21 00:01:41 +03:00
Ruslan Kuprieiev
ba6a57264a
Revert "win: innosetup: don't add symlink perms"
...
This reverts commit e94b78d677 .
2018-04-28 21:54:36 +03:00
Ruslan Kuprieiev
e94b78d677
win: innosetup: don't add symlink perms
...
We no longer use symlinks, so there is no reason to setup permissions for it.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-18 16:58:33 +02:00
Ruslan Kuprieiev
6e3e655b70
innosetup: use pf instead of pf64
...
This will allow innosetup auto-detect which one to use in this particular case.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-10 14:03:00 +02:00
Ruslan Kuprieiev
092b2bebea
build: move innosetup/ to scripts/
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-08 16:59:24 +02:00