Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Cleanup] Move connector files to root#2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
susodapop merged 6 commits intomainfromidiomatic-layout
Jun 7, 2022
Merged

Conversation

@susodapop
Copy link
Contributor

Description

This PR moves all the source code into the root of the repository. The previous nesting was the result of retaining the commit history when this connector was part of another Databricks repository.

  • Relocates all files to root
  • RenamesHISTORY ->CHANGELOG.md
  • Updatespyproject.toml so that the CHANGELOG will be copied into the distribution package
  • AddsLICENSE file with the Apache 2.0 license text.

@susodapopsusodapop requested review froma team,arikfr anddragqueen95 and removed request fora teamMay 31, 2022 23:02
@moderakhmoderakh self-requested a reviewJune 2, 2022 17:09
Copy link
Collaborator

@moderakhmoderakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

As we are re-structuring the files, and there is no CI running on the PR at the moment, we potentially may break something.

I wonder when you are planning to enable a CI on the repo? Is it possible to enable any sort of basic CI before doing any more structural changes? (maybe for start just a CI to run the basic unit test but not the end to end test)? (this doesn't need to be in this PR) what do you think@susodapop?

cryptography==35.0.0
thrift==0.13.0
pandas==1.3.4
future==0.18.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I see this file is not moved, but removed. isn't the list of dependencies, dev_requirements.txt required anymore?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

After we merged#1, the dev environment specification is contained inpyproject.toml so there's no need for a separatedev_requirements.txt file. If we need to add more development dependencies in the future we can do that from the command line withpoetry add <package name> --dev.

moderakh reacted with thumbs up emoji
@@ -1,31 +0,0 @@
[metadata]
name = databricks-sql-connector
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

did another file replace this file now?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yep, as part of#1 we replacedsetup.cfg withpyproject.toml since we're usingpoetry instead ofdistutils for build / publish now.

moderakh reacted with thumbs up emoji
@susodapop
Copy link
ContributorAuthor

Good points about unit testing.

We can't add automated CI tests without additional commits. But I can run these tests manually. I'm working on that now.

moderakh reacted with thumbs up emoji

@moderakhmoderakh self-requested a reviewJune 2, 2022 21:38
Copy link
Collaborator

@moderakhmoderakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM. thanks@susodapop

@susodapopsusodapop merged commita7af04c intomainJun 7, 2022
@susodapopsusodapop deleted the idiomatic-layout branchJune 7, 2022 20:26
PeterDKay referenced this pull request in sede-open/databricks-sql-pythonMay 25, 2023
saishreeeee pushed a commit that referenced this pull requestJun 4, 2025
* Move all files from cmdexec/clients/python -> root* Remove unused config files* Move HISTORY to root* Rename HISTORY to changelog and include in package.* Add Apache 2.0 license text
saishreeeee pushed a commit that referenced this pull requestJun 4, 2025
* Move all files from cmdexec/clients/python -> root* Remove unused config files* Move HISTORY to root* Rename HISTORY to changelog and include in package.* Add Apache 2.0 license textSigned-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@moderakhmoderakhmoderakh approved these changes

@arikfrarikfrAwaiting requested review from arikfr

@dragqueen95dragqueen95Awaiting requested review from dragqueen95dragqueen95 was automatically assigned from databricks/eng-bi-team

@benfleisbenfleisAwaiting requested review from benfleis

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@susodapop@moderakh

[8]ページ先頭

©2009-2025 Movatter.jp