Attempt to make naming of index files configurable #9

Open
ltning wants to merge 1 commit from ltning/BSSG:add-index-file-setting into main
First-time contributor

This is part one of my attempts to make BSSG able to produce output limited to 8.3 filenames.

Why, you may ask? Because I want it to output files that can be served by a DOS machine, of course!

This is part one of my attempts to make BSSG able to produce output limited to 8.3 filenames. Why, you may ask? Because I want it to output files that can be served by a DOS machine, of course!
ltning changed title from Attempt to make naming of index files configureable to Attempt to make naming of index files configurable 2025-04-22 15:48:34 +02:00
Owner

Thanks for the patch. I've performed some tests, but it seems to break something. Some of my test build machines (MacOS) fail to build the site, printing errors. I'll try to understand why.

Thanks for the patch. I've performed some tests, but it seems to break something. Some of my test build machines (MacOS) fail to build the site, printing errors. I'll try to understand why.
stefano self-assigned this 2025-04-23 10:19:52 +02:00
First-time contributor

Thinking in a more simple way to solve this, considering it's a very specific case: build the site and before the deploy,use find with xargs to rename all index files to 8.3.

Thinking in a more simple way to solve this, considering it's a very specific case: build the site and before the deploy,use find with xargs to rename all index files to 8.3.
Author
First-time contributor

Can you tell me how it's failing?
I also thought of the whole renaming thing, but I'm preparing a second patch that will allow replacing the slugs with a short random string, to make all path elements fit in 8.3 straight away...

Sorry if I'm abusing your project :)

Can you tell me how it's failing? I also thought of the whole renaming thing, but I'm preparing a second patch that will allow replacing the slugs with a short random string, to make all path elements fit in 8.3 straight away... Sorry if I'm abusing your project :)
This pull request has changes conflicting with the target branch.
  • scripts/build/cache.sh
  • scripts/build/generate_feeds.sh
  • scripts/build/generate_pages.sh
  • scripts/build/generate_posts.sh
  • scripts/build/generate_tags.sh
  • scripts/build/templates.sh
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u add-index-file-setting:ltning-add-index-file-setting
git switch ltning-add-index-file-setting

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff ltning-add-index-file-setting
git switch ltning-add-index-file-setting
git rebase main
git switch main
git merge --ff-only ltning-add-index-file-setting
git switch ltning-add-index-file-setting
git rebase main
git switch main
git merge --no-ff ltning-add-index-file-setting
git switch main
git merge --squash ltning-add-index-file-setting
git switch main
git merge --ff-only ltning-add-index-file-setting
git switch main
git merge ltning-add-index-file-setting
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
stefano/BSSG!9
No description provided.