-
-
Notifications
You must be signed in to change notification settings - Fork 823
feat!: migrate math/base/ops/add
to number/float64/base/add
#5063
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
feat!: migrate math/base/ops/add
to number/float64/base/add
#5063
Conversation
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: missing_dependencies - task: lint_c_examples status: missing_dependencies - task: lint_c_benchmarks status: missing_dependencies - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: missing_dependencies - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: passed - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: passed - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: passed - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: passed ---
math/base/ops/add
to number/float64/base/add
math/base/ops/add
to number/float64/base/add
@gururaj1512 This PR has a bug. Namely, |
You can add a single commit fixing this bug, and I should still be able to merge, provided everything else checks out.
|
But actually, sorry, we still cannot merge this. Your three commits are lacking the expected commit bodies. |
@gururaj1512 Okay, since you are very persistent about this (which I can appreciate!), here is the sequence which needs to be followed: The following outlines a sequence of steps to follow in order to migrate a single API package which is in Steps1. Copy packagecp -R lib/node_modules/@stdlib/math/base/ops/add lib/node_modules/@stdlib/number/float64/base/add 2. Update package contentsThis includes 3. Commit new packagegit add lib/node_modules/@stdlib/number/float64/base/add && git commit Sample commit message:
4. Update paths using a global find-and-replace
Notes:
5. Update global C symbols
Notes:
6. Remove the package export from its parent namespaceSee, e.g., 7. Avoid updating original package and error databasegit checkout -- ./lib/node_modules/@stdlib/math/base/ops/add && git checkout -- ./lib/node_modules/@stdlib/error && git status 8. Commit changesgit add . && git commit Sample commit message:
9. Remove original packagerm -rf lib/node_modules/@stdlib/math/base/ops/add 10. Commit changesgit add lib/node_modules/@stdlib/math/base/ops/add && git commit Sample commit message
OtherExample commit sequence: Notes
|
I'll need to go ahead and close this PR, as it cannot be merged, as is. |
@gururaj1512 Yes, and then by removing the package in the third commit, you broke every downstream package which was expecting |
Didn't notice that silly mistake. Thanks for clarifying and explaining. I'll work on it. |
Progresses #2261.
Description
This pull request:
math/base/ops/add
tonumber/float64/base/add
Related Issues
This pull request:
@stdlib/math/base/ops/*
packages to@stdlib/number/*
and@stdlib/complex/*
#2261.Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers