Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

18 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Hannah K 48dc8daad7
Update to remove pkg-resources (#16)
To resolve a lingering issue.
2023-01-01 02:16:57 -05:00
dependabot[bot] 7bfb915409
Bump py from 1.9.0 to 1.11.0 in /package (#25)
Bumps [py](https://github.com/pytest-dev/py) from 1.9.0 to 1.11.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.9.0...1.11.0)

---
updated-dependencies:
- dependency-name: py
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 02:00:27 -05:00
dependabot[bot] d9460740d8
Bump certifi from 2020.6.20 to 2022.12.7 in /package (#24)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.6.20 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2020.06.20...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 02:00:04 -05:00
dependabot[bot] 5acf9b009f
Bump certifi from 2020.6.20 to 2022.12.7 in /src (#23)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.6.20 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2020.06.20...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 01:59:42 -05:00
dependabot[bot] e5f3608855
Bump urllib3 from 1.25.10 to 1.26.5 in /package (#20)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.10 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.10...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 01:59:18 -05:00
dependabot[bot] d1dcc5f7c1
Bump urllib3 from 1.25.10 to 1.26.5 in /src (#19)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.10 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.10...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 01:58:51 -05:00
dependabot[bot] c4c97d6e41
Bump py from 1.9.0 to 1.10.0 in /src (#17)
Bumps [py](https://github.com/pytest-dev/py) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.9.0...1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 01:57:15 -05:00
microsoft-github-policy-service[bot] ccda889b5f
Microsoft mandatory file (#21)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-09-12 10:34:36 -04:00
Hannah K 571f0baeda
Upgrading PyInstaller to Appease Dependabot (#14)
* Update the pyinstaller version in the requirements.txt files in src and in package

* Removing the gotcha, as the bug was fixed as of April 2020
2020-07-26 17:28:46 -04:00
dependabot[bot] 783dbb0379 Bump urllib3 from 1.24.1 to 1.24.2 in /src (#12)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-24 10:02:55 +01:00
Hannah K 743fd0893c
Hotfix: Progressbar/Time Remaining More Accurate During Import (#11)
* Swaps in the progress bar update unit to the row and not the document
size. Also adds in more references to the delimiter and file endings
variables for easier future updating,

* Fixes a possible capitalization problem with a linux build.

* Adds the flag in `pip install` to not use PEP517 per a discussion on
https://github.com/pypa/pip/issues/6163

* Removes the `--no-use-pep517` flag on the Mac build. Prematurely added.
2019-02-05 13:54:55 -05:00
Hannah K 49df5e52ed
Removes a space from the build status image. (#8) 2019-01-30 10:57:31 -05:00
Hannah K b69e11596d
Creates the `cadet import` command (#4)
* Creates the starting point for the CLI tool.

* Aligns the code to the Specs.

* Adds a number of try-catch statements for better error-handling.

* Removes a comment that was wrong (the raised error is hit).

* Adds a docstring to the beginning of the file.

* Updates the flags/options to match the portal's vocabulary, and
corresponding variable names. Swaps out print() and puts in
click.echo(). Adds in a try/catch for the document upsert

* Changes how a click.echo message was formatted to use correct syntax.

* Unifies which string quotation marks are used (now single instead of a
mix); Adds new lines in exception messages for readability; Moves the
source_size variable check inside of a try/catch so that if the source
file provided doesn't exist, it fails gracefully.

* Adds a check for the source file's extension being CSV or TSV and
raising an exception if it's not.

* Moves a comment and removes a bunch of blank lines.

* Feature: Add CI and release pipeline (#3)

* add azure-pipelines.yml

* update?

* add test step

* drop travis

* add badge

* update contrib

* pr validation, package on master

* move condition for github

* added a linting step via pylint before test

* updated so that all stages lint and that the correct module is passed into linter

* Removes the newline characters from the messages since it's clunky.

* Adds a `required=True` on the collection name, database name, and type
flags so that if any of them are missing, then it should fail. The
connection flags have separate fail-safes in place so they don't need
the `required=True`.

* Pulls out some functionality into separate functions for easier testing;
adds function descriptions for those new functions; fixes a connection
typo.

* Corrects unnecessary white space at the end of a few lines.

* Cleans up from pylint suggestions.

* Updates a function comment

* Add initial tests and test files (#5)

* Add initial tests and test files

* Add newline

* Import mock

* Add test import

* Add testing, remove test cases that rely on auth response

* Add connection string parsing and test

* Remove extra line, and unused import statement

* Modify tests and test file

* Remove optionality of arguments

* Add comments on test

* Mock on upsertedDocs

* Rewrite test mocking

* Remove print statement

* Add comment to describe test

* Fix spacing, typo

* Creates the starting point for the CLI tool.

* Aligns the code to the Specs.

* Adds a number of try-catch statements for better error-handling.

* Removes a comment that was wrong (the raised error is hit).

* Updates the flags/options to match the portal's vocabulary, and
corresponding variable names. Swaps out print() and puts in
click.echo(). Adds in a try/catch for the document upsert

* Changes how a click.echo message was formatted to use correct syntax.

* Adds a docstring to the beginning of the file.

* Unifies which string quotation marks are used (now single instead of a
mix); Adds new lines in exception messages for readability; Moves the
source_size variable check inside of a try/catch so that if the source
file provided doesn't exist, it fails gracefully.

* Adds a check for the source file's extension being CSV or TSV and
raising an exception if it's not.

* Moves a comment and removes a bunch of blank lines.

* Removes the newline characters from the messages since it's clunky.

* Adds a `required=True` on the collection name, database name, and type
flags so that if any of them are missing, then it should fail. The
connection flags have separate fail-safes in place so they don't need
the `required=True`.

* Pulls out some functionality into separate functions for easier testing;
adds function descriptions for those new functions; fixes a connection
typo.

* Corrects unnecessary white space at the end of a few lines.

* Cleans up from pylint suggestions.

* Updates a function comment

* Add initial tests and test files (#5)

* Add initial tests and test files

* Add newline

* Import mock

* Add test import

* Add testing, remove test cases that rely on auth response

* Add connection string parsing and test

* Remove extra line, and unused import statement

* Modify tests and test file

* Remove optionality of arguments

* Add comments on test

* Mock on upsertedDocs

* Rewrite test mocking

* Remove print statement

* Add comment to describe test

* Fix spacing, typo

* Moves things from my previous branch into the style from master. Updates
the CONTRIBUTING and README docs.

* The first(-ish) pass of the linting/reorganizing.

* Updates some dependencies.

* Updates the Azure pipelines to run `pip3` since we require Python 3.

* Changes to pipeline to see if pylint and pytest.

* Separates the installing of required modules from the actual testing. Is
there a synchronous issue?

* Makes the change to the Windows build since that is where the failure is
happening.

* Removes a broken requirement that was possibly introduced.

* Feature/linting tests (#6)

* Add docstrings, remove instances of 'self' on classes
* Fix file importation and reading
* Re-add 'connection-string'
* Add conditional, to allow users to type in source_path
* Change variable names, edit tests
* Consistency on click options

* Feature/add description to pylint ignore (#7)

* Fix typo

* Add descriptive pylint ignore message

* Update test_cadet.py

* Updates the contributing docs to include a note about a known bug.

* Splits up the installing and testing for the linux build..
2019-01-29 15:21:42 -05:00
Ben Greenier 10d77b7546
Feature: Add CI and release pipeline (#3)
* add azure-pipelines.yml

* update?

* add test step

* drop travis

* add badge

* update contrib

* pr validation, package on master

* move condition for github

* added a linting step via pylint before test

* updated so that all stages lint and that the correct module is passed into linter
2019-01-10 10:17:37 -05:00
Ben Greenier f004196f8b
Initial feature-set docs and starter code (#2)
* add logo, update readme

* add travis config

* .travis.yml - add newline at file end

* fix typo

* add example cli

* ignore vscode config

* reference contributing.md from readme.md

* add packaging tools

* revfix: capitalize SDK

* pytest support, basic test

* drop support for python2 in travis

* revfix: typos and improvements
2019-01-04 16:45:05 -05:00
Microsoft Open Source db00f1abd0 Initial commit 2019-01-04 10:45:10 -08:00
Microsoft Open Source 869d22df66 Initial commit 2019-01-04 10:45:09 -08:00
Microsoft GitHub User ae25a241bc
Initial commit 2019-01-04 10:45:07 -08:00