October: Dotfiles are missing after the uploading archive to the marketplace

Created on 12 Jun 2019  路  8Comments  路  Source: octobercms/october

We at Shopaholic provide a lot of devtools with our products. In particular, we provide front-end tooling for our Sneakers theme. There's a build folder with the following content:

build/
build/.local.eslintrc
build/.stylelintignore
build/webpack.mix.js
build/.babelrc
build/package.json
build/.stylelintrc.yaml
build/.editorconfig
build/.browserslistrc
build/.eslintrc
build/.stylelintrc
build/.eslintignore

The uploading theme archive contains all these files. But the downloaded archive contains only these:

build/
build/package.json
build/webpack.mix.js

What the reason to repack archives? Is the cutting of hidden files a bug?

Completed Bug Website / Marketplace / Docs

Most helpful comment

Now everything works! Thanks

All 8 comments

@lautsevich @daftspunk will be adding support for a .octoberinclude file that will follow .gitignore syntax, except just for dotfiles inclusion in the marketplace build packages and ignoring everything by default. So, in this case you would add a .octoberinclude file to /build that would contain the following entries:

.local.eslintrc
.stylelintignore
.babelrc
.stylelintrc.yaml
.editorconfig
.browserslistrc
.eslintrc
.stylelintrc
.eslintignore

Hi! We added .octoberinclude file to /build folder. When will edits be added to make it work?

@LukeTowers, hi! Is there any news regarding implementing the support for .octoberinclude file? Our customers are suffering. 馃槩

This is ready now. Please create a file in the root directory of your plugin or theme called .octoberinclude (lower case) with the contents:

*

This should include all hidden files recursively throughout the next build run.

Don't forget to report back your findings so we can close this ticket.

Thanks!

I moved .octoberinclude file to theme root folder and set '*' content for it. We still haven't got hidden files in build folder

Apologies there was a deployment issue, please retry.

Now everything works! Thanks

Great! Thx @LukeTowers @daftspunk!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SeekAndPwn picture SeekAndPwn  路  3Comments

lukaszbanas-extremecoding picture lukaszbanas-extremecoding  路  3Comments

mittultechnobrave picture mittultechnobrave  路  3Comments

axomat picture axomat  路  3Comments

EbashuOnHolidays picture EbashuOnHolidays  路  3Comments