Skip to content

fix: Deploy files with no extensions, fixes using qcoro with artifactory#12

Open
BatteredBunny wants to merge 1 commit intoRedFox20:masterfrom
BatteredBunny:deploy-ext
Open

fix: Deploy files with no extensions, fixes using qcoro with artifactory#12
BatteredBunny wants to merge 1 commit intoRedFox20:masterfrom
BatteredBunny:deploy-ext

Conversation

@BatteredBunny
Copy link
Contributor

@BatteredBunny BatteredBunny commented Mar 2, 2026

Currently files with no extensions get filtered out. This makes papa create a broken artifactory cache for qcoro.
QCoro headers are included like this: #include <QCoro/QCoroTask>
They are expressed via an extensionless file in the include folder, e.g include/qcoro6/qcoro/QCoroTimer containing #include "qcorotimer.h" (Same pattern as in Qt)

includes_root = package_full_path + '/include'
# TODO: should we include .cpp files for easier debugging?
includes_filter = ['.h','.hpp','.hxx','.hh','.c','.cpp','.cxx']
includes_filter = ['.h','.hpp','.hxx','.hh','.c','.cpp','.cxx', '']
Copy link
Owner

Choose a reason for hiding this comment

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

This is really dangerous though. It will potentially break a lot of other packages. How could we prevent potentially random files from being added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thats true, but i dont really understand why there would be random files in the include folder in the first place

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Especially random extensionless files

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.

2 participants