Closed cyb3rko closed 1 month ago
@cyb3rko Unfortunately where the development cycle is at with v2.5.0 this will not be looked at. v2.5.0 is due for release 16th September 2024.
Please can you upgrade your client to v2.5.0 RC3 and retest your issue. Please read https://github.com/abraunegg/onedrive/discussions/2770 for details on how to build RC3.
@abraunegg
I understand that, then I will just wait until 16th September and test it out on the new release if that's okay.
Otherwise I would have to upgrade my other clients to RC3 as well because of incompatibility, right?
@abraunegg I understand that, then I will just wait until 16th September and test it out on the new release if that's okay. Otherwise I would have to upgrade my other clients to RC3 as well because of incompatibility, right?
I would rather you find a way to test this before release, so that a fix can be made if required.
The v2.5.0 client is not backwards compatible - many things internally have changed how sync's occur, how integrity is checked - so as an abundance of caution is needed. Please read the client architecture documentation: https://github.com/abraunegg/onedrive/blob/onedrive-v2.5.0-release-candidate-3/docs/client-architecture.md
Please find a way to test this issue with RC3 before the 16th.
Tested with the newest version 'onedrive v2.5.0-rc3-58-g0d3d416'.
The issue persists:
Skipping file - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/.gradle/config.properties
Skipping path - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/.gradle/8.5
Skipping path - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/.gradle/vcs-1
Skipping file - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/.gradle/file-system.probe
Skipping path - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/.gradle/buildOutputCleanup
Skipping file - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/gradle/libs.versions.toml
Skipping path - excluded by sync_list config: ./Programming/Projects/Android/FlashDimCompose/gradle/wrapper
Thanks - will look at this with priority this week.
@cyb3rko
Regarding this issue, I believe I have this sorted via PR https://github.com/abraunegg/onedrive/pull/2797
From this PR, this is the logging output:
Skipping path - excluded by sync_list config: Issue_2796/Programming
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Web
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/Web
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/App1
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/App2
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/App2/gradle
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/Web/.gradle
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/Web/gradle
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/App2/.gradle
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/App1/gradle
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/App1/.gradle
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/Web/build
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/Web/.cxx
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/App1/.cxx
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/App1/build
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/App2/.cxx
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Android/App2/build
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/sub_folder_a
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/subfolder_b
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/Web/must_include
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/App1/must_include
Including path - included by sync_list config: Issue_2796/Programming/Projects/Android/App2/must_include
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1
Including file - included by sync_list config: Issue_2796/Programming/Projects/Android/App2/gradle/libs.versions.toml
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Android/App2/gradle
Including file - included by sync_list config: Issue_2796/Programming/Projects/Android/Web/gradle/libs.versions.toml
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Android/Web/gradle
Including file - included by sync_list config: Issue_2796/Programming/Projects/Android/App1/gradle/libs.versions.toml
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Android/App1/gradle
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/sub_folder_a/build
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/subfolder_b/build
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/sub_folder_a/.cxx
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/subfolder_b/.cxx
Including file - included by sync_list config: Issue_2796/Programming/Projects/Android/Web/must_include/data_to_include.data
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Android/Web/must_include
Including file - included by sync_list config: Issue_2796/Programming/Projects/Android/App1/must_include/data_to_include.data
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Android/App1/must_include
Including file - included by sync_list config: Issue_2796/Programming/Projects/Android/App2/must_include/data_to_include.data
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Android/App2/must_include
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2
Including file - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/sub_folder_a/.cxx/build.junk
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Web/folder_a/sub_folder_a/.cxx
Including file - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_a/subfolder_b/.cxx/build.junk
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Web/folder_a/subfolder_b/.cxx
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/.cxx
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/tier_3
Including file - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/.cxx/build.junk
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/.cxx
Including path - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/tier_3/must_include
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/tier_3/build
Including file - included by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/tier_3/must_include/data_to_include.data
Parental Path structure needs to be created to support included file: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/tier_3/must_include
Skipping path - excluded by sync_list config: Issue_2796/Programming/Projects/Web/folder_b/tier_1/tier_2/tier_3/build/include_under_build
The application config was:
Selective sync 'sync_list' configured = true
sync_list config option 'sync_root_files' = false
sync_list contents:
# EXCLUDE
!.gradle/*
!/Issue_2796/Programming/Projects/Android/**/build/*
!/Issue_2796/Programming/Projects/Android/**/.cxx/*
!/Issue_2796/Programming/Projects/Web/**/build/*
# INCLUDE
/Issue_2796/Programming/*
# INCLUDE ANY PDF FILE ANYWHERE
*.pdf
# INCLUDE ALL TEXT FILES IN SPECIFID DIRECTORY
/new_local_dir/*.txt
Please can you URGENTLY test this.
To test this PR:
git clone https://github.com/abraunegg/onedrive.git
cd onedrive
git fetch origin pull/2797/head:pr2797
git checkout pr2797
To run the PR, you need to run the client from the PR build directory:
./onedrive <any options needed>
To install the PR, you will need to perform sudo make install
to install the PR version.
When running the PR, your version should be: onedrive v2.5.0-rc3-62-gc82a285
or greater
Thanks for the fix. I will test it out when I come home from work.
@abraunegg I've just tested it and it works as expected, thank you a lot! 🚀
@cyb3rko Thanks for the confirmation of the issue being resolved.
I need to run that urgently through all my existing 'sync_list' test cases before merging into v2.5.0 RC3.
PR merged into RC3
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug
Hi Alex, first of all thanks for this awesome piece of software, I've been using it for years now <3
I mainly sync my Android project folders between by devices. Each project folder has one
.gradle
and onegradle
folder.Now I want to ignore the
.gradle
folder and not sync it while keepinggradle
in sync.Project 1/ ├── .gradle/ ├── gradle/ └── etc/ Project 2/ ├── .gradle/ ├── gradle/ └── etc/ Project 3/ └── ...
Here's my
sync_list
:For
.gradle
it's working as expected:Skipping item - excluded by sync_list config: Programming/Projects/Android/FlashDimCompose/.gradle/file-system.probe
But for some reason the sync_list above does also exclude my
gradle
folder as shown by one of the log entries:Skipping item - excluded by sync_list config: Programming/Projects/Android/FlashDimCompose/gradle/libs.versions.toml
Am I misunderstanding something here?
Thanks for your help!
Operating System Details
Client Installation Method
From Distribution Package
OneDrive Account Type
Personal
What is your OneDrive Application Version
v2.4.25
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
/
What are all your local file system partition types
How do you use 'onedrive'
/
Steps to reproduce the behaviour
gradle
.gradle
.gradle
via sync_listComplete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response