Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically figure out where to write GIT_COMMIT #30

Merged
merged 6 commits into from
May 15, 2024

Conversation

KyleFromNVIDIA
Copy link
Contributor

In most cases, we will want to put GIT_COMMIT in a directory with the same name as the project (with hyphens replaced by underscores.) Put GIT_COMMIT there by default. Also rename _edit_git_commit() to _write_git_commit(), and don't create a backup file with the old GIT_COMMIT.

In most cases, we will want to put GIT_COMMIT in a directory with
the same name as the project (with hyphens replaced by underscores.)
Put GIT_COMMIT there by default. Also rename _edit_git_commit() to
_write_git_commit(), and don't create a backup file with the old
GIT_COMMIT.
@KyleFromNVIDIA KyleFromNVIDIA requested a review from a team as a code owner May 9, 2024 19:57
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Thanks! I agree with the renaming. Changes and tests all look good to me.

I left 2 small suggestions for your consideration, but approving so if you agree to both of them you don't need to wait on another review from me.

rapids_build_backend/impls.py Outdated Show resolved Hide resolved
rapids_build_backend/impls.py Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
rapids_build_backend/impls.py Outdated Show resolved Hide resolved
tests/test_packages.py Show resolved Hide resolved
@KyleFromNVIDIA KyleFromNVIDIA merged commit dccdf0d into rapidsai:main May 15, 2024
7 checks passed
rapids-bot bot pushed a commit to rapidsai/rmm that referenced this pull request Jun 12, 2024
…build-backend configuration (#1582)

Contributes to rapidsai/build-planning#31
Contributes to rapidsai/dependency-file-generator#89

#1502 was one of the first `rapids-build-backend` PRs merged across RAPIDS. Since it was merged, we've made some small adjustments to the approach for `rapids-build-backend`. This catches `rmm` up with those changes:

* consolidates version-handling in `ci/build_cpp.sh`
* removes `commit-file` configuration in `pyproject.toml`
  - *as of rapidsai/rapids-build-backend#30, this is no longer necessary if the project's top-level directory is `{project_name}.replace("-", "_")*
  - *and anyway, it was changed from `commit-file` to `commit-files` in that PR, so `commit-file` was being silently ignored here*
* uses `--file-key` instead of `--file_key` in `rapids-dependency-file-generator` calls

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

URL: #1582
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Jun 12, 2024
…build-backend configuration (#15980)

Contributes to rapidsai/build-planning#31
Contributes to rapidsai/dependency-file-generator#89

#15245 was one of the first `rapids-build-backend` PRs merged across RAPIDS. Since it was merged, we've made some small adjustments to the approach for `rapids-build-backend`. This catches `cudf` up with those changes:

* consolidates version-handling in `ci/build_cpp.sh`
* removes `commit-file` configuration in `pyproject.toml`
  - *as of rapidsai/rapids-build-backend#30, this is no longer necessary if the project's top-level directory is `{project_name}.replace("-", "_")*
  - *and anyway, it was changed from `commit-file` to `commit-files` in that PR, so `commit-file` was being silently ignored here*
* uses `--file-key` instead of `--file_key` in `rapids-dependency-file-generator` calls

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)
  - Bradley Dice (https://github.com/bdice)

URL: #15980
copy-pr-bot bot pushed a commit to rapidsai/rmm that referenced this pull request Jun 17, 2024
…build-backend configuration (#1582)

Contributes to rapidsai/build-planning#31
Contributes to rapidsai/dependency-file-generator#89

#1502 was one of the first `rapids-build-backend` PRs merged across RAPIDS. Since it was merged, we've made some small adjustments to the approach for `rapids-build-backend`. This catches `rmm` up with those changes:

* consolidates version-handling in `ci/build_cpp.sh`
* removes `commit-file` configuration in `pyproject.toml`
  - *as of rapidsai/rapids-build-backend#30, this is no longer necessary if the project's top-level directory is `{project_name}.replace("-", "_")*
  - *and anyway, it was changed from `commit-file` to `commit-files` in that PR, so `commit-file` was being silently ignored here*
* uses `--file-key` instead of `--file_key` in `rapids-dependency-file-generator` calls

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

URL: #1582
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants