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

copy only if different #16031

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Apr 5, 2024

Changelog: Feature: Avoid copying identical existing files in copy().
Docs: Omit

Docs are autodoc

Close #16027

This is almost impossible to test, as the initial and final state of the result of a copy with an existing identical file, would be the same file, no matter if copied or skipped.

@memsharded memsharded added this to the 2.3.0 milestone Apr 5, 2024
@czoido czoido merged commit 275f9af into conan-io:develop2 Apr 8, 2024
2 checks passed
@memsharded memsharded deleted the feature/copy_overwrite_equal branch April 8, 2024 10:48
memsharded added a commit to memsharded/conan that referenced this pull request Apr 9, 2024
memsharded added a commit to memsharded/conan that referenced this pull request Apr 10, 2024
memsharded added a commit that referenced this pull request Apr 11, 2024
* cmake deps internal refactor for readability

* fix

* fix

* fix

* fix

* fix

* copy only if different (#16031)

* allow conf in exports-sources and export (#16034)

* refactor apple_min_version_flag() (#16017)

* refactor apple_min_version_flag()

* Refactored all the apple module and where it was being used (AutotoolsToolchain and MesonToolchain for now)

* Fixed bad return

* Fixing tests

* Keeping legacy behavior in apple_min_version_flag function

* Preventing possible breaking change

---------

Co-authored-by: Francisco Ramirez de Anton <[email protected]>

* Allow to unhide git url (#16038)

* Add hide_url tests for git scm tool

* Add hide_url flag to clone and fetch_commit.

Resolves #15684

* Update conans/test/functional/tools/scm/test_git.py

* Update conans/test/functional/tools/scm/test_git.py

---------

Co-authored-by: Rubén Rincón Blanco <[email protected]>

* remove repeated non-running test (#16053)

* refactor transitive_requires

---------

Co-authored-by: Francisco Ramirez de Anton <[email protected]>
Co-authored-by: Sebastian Höffner <[email protected]>
Co-authored-by: Rubén Rincón Blanco <[email protected]>
czoido pushed a commit that referenced this pull request Jun 4, 2024
* wip

* wip

* wip

* Test for BazelDeps in the build context (#16025)

* feat add test to bazeldeps

* Fixed several bugs. Improved tests coverage

* Reverted

* Better name

---------

Co-authored-by: Francisco Ramirez de Anton <[email protected]>

* copy only if different (#16031)

* allow conf in exports-sources and export (#16034)

* refactor apple_min_version_flag() (#16017)

* refactor apple_min_version_flag()

* Refactored all the apple module and where it was being used (AutotoolsToolchain and MesonToolchain for now)

* Fixed bad return

* Fixing tests

* Keeping legacy behavior in apple_min_version_flag function

* Preventing possible breaking change

---------

Co-authored-by: Francisco Ramirez de Anton <[email protected]>

* Allow to unhide git url (#16038)

* Add hide_url tests for git scm tool

* Add hide_url flag to clone and fetch_commit.

Resolves #15684

* Update conans/test/functional/tools/scm/test_git.py

* Update conans/test/functional/tools/scm/test_git.py

---------

Co-authored-by: Rubén Rincón Blanco <[email protected]>

* wip

* wip

* wip

* fix

* Update conan/tools/build/cstd.py

Co-authored-by: Rubén Rincón Blanco <[email protected]>

* Update conan/tools/build/cstd.py

Co-authored-by: Rubén Rincón Blanco <[email protected]>

* Update conan/tools/build/cstd.py

Co-authored-by: Rubén Rincón Blanco <[email protected]>

---------

Co-authored-by: Ernesto de Gracia Herranz <[email protected]>
Co-authored-by: Francisco Ramirez de Anton <[email protected]>
Co-authored-by: Sebastian Höffner <[email protected]>
Co-authored-by: Rubén Rincón Blanco <[email protected]>
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.

[feature] Skip unchanged files in conan.tools.files.copy
3 participants