Commit Graph

69 Commits

Author SHA1 Message Date
bb45fc85ba feat/build-improvements-2 (#4553)
All checks were successful
continuous-integration/drone/push Build is passing
Another attempt at #4516

Adds a small fix for tag map generation

#4516 introduces build failures, but testing indicates that those failures would have been resolved by a full rebuild.

Hence this pr.

Co-authored-by: Darragh Elliott <me@delliott.xyz>
Reviewed-on: #4553
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2024-10-29 14:56:41 +00:00
30562062b2
Revert "feat/build-improvements (#4516)"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit d1defc73f8.
2024-10-28 15:10:33 +01:00
d1defc73f8 feat/build-improvements (#4516)
All checks were successful
continuous-integration/drone/push Build is passing
This pr re-formats the build scripts for legibility.
Makes some small tweaks, mainly removing options that don't appear to be used and have no impact.
Updates the help file to be more useful and actually represent all arguments.
Adds the ability to specify languages when building. This is mainly useful for speedups, a full rebuild in just English and French takes only ~3 mins as opposed to 40 for a rebuild of all languages.
There may be some small tweaks not mentioned here, see the commit messages for full details.

This pr does not alter the output of a standard build at all, confirmed using `git diff --no-index`.

Co-authored-by: Darragh Elliott <me@delliott.xyz>
Reviewed-on: #4516
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
2024-10-28 13:55:03 +00:00
Darragh Elliott
18647572b4 feat: support building the website inside the repo 2024-10-15 14:10:15 +01:00
Darragh Elliott
29a22ce87a feat: Rsync media files etc instead of symlinking
All checks were successful
continuous-integration/drone/pr Build is passing
This is slightly more resource intensive per build, but also measn that the bewildering situation of changing files in the source tree alters the build/stage folder output without rebuilding.
Rsync means the impact should not be too large
2024-09-26 16:56:17 +01:00
Darragh Elliott
7f40467541 feat: dont copy over nix
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-17 11:59:10 +01:00
Darragh Elliott
3049db5e9d feat: stop copying source over, and make less dirs for cleaner output 2024-09-17 11:59:10 +01:00
42aa7d7542
Fix tags and makerule 2024-08-26 09:48:05 +02:00
e6dea9e42d
Order and improve status pages
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-14 14:07:36 +02:00
d1c0a0f1c8
Change item layout to that specified by reinhard in PR #2750, and update order script to match
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-07-12 10:22:32 +02:00
e4ced217ca Topbanner/fundraising box (#1726)
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-07 10:43:01 +00:00
394f511333
texts reorganisation in build and make scripts 2020-07-30 14:17:59 +02:00
de1dc548e9 Remove mini-sitemap from footer
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #1338
2020-05-04 15:08:03 +02:00
15ad976413 Exclude languages dir from being copied to target 2020-04-26 19:21:08 +02:00
ec59668710 Change storage of language list
All checks were successful
continuous-integration/drone/push Build is passing
Having each language as a separate file in a directory makes handling of
the languages way easier.
2020-04-24 16:36:02 +02:00
785d03c6b9 Remove some spaghetti from build script
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-24 08:52:01 +02:00
58ff656a5d Symlink instead of copy non-HTML files
All checks were successful
the build was successful
This change is done so in a test environment, files like .less
stylesheets are always up to date in the target directory.
2019-06-03 19:56:09 +02:00
23e58100f8 Fix new parameter in generated Makefile
All checks were successful
the build was successful
2019-05-28 20:39:03 +02:00
Ulf Jasper
d88d8b3388 Replace /bin/bash with /usr/bin/env bash
All checks were successful
the build was successful
2019-05-23 21:16:20 +02:00
db38bbf73e Switched news and event archives to index.html
All checks were successful
the build was successful
2019-03-21 15:16:46 +01:00
84cbfcd533 Add quoting to all file names
All checks were successful
the build was successful
2019-03-21 10:05:49 +01:00
2d89d9c37c Explicitly exclude .git directory from Makefile rules
All checks were successful
the build was successful
It is always possible that the .git directory contains files which match
the pattern, for example if there is a branch called something ending in
.xhtml.
2019-03-19 08:39:17 +01:00
447bbcf821 Some nitpicks 2019-03-12 16:42:34 +01:00
798f8f1458 Move XSL updates to phase 1 2019-03-12 16:34:02 +01:00
07ac7e3d34 Remove a few files from target directory output
All checks were successful
the build was successful
2019-03-11 22:49:38 +01:00
89954e37cf Clean up logging and error handling
All checks were successful
the build was successful
2019-03-11 20:53:35 +01:00
a2577d9419 Finish switch to pattern rules in phase 2 Makefile
All checks were successful
the build was successful
2019-03-11 18:34:11 +01:00
d991f1bc43 Add generation of a few files in phase 1 that will help speed up phase 2
All checks were successful
the build was successful
2019-03-11 12:31:02 +01:00
b5759da7a0 Generate list of included XML files in prebuild run
All checks were successful
the build was successful
2019-03-11 02:35:51 +01:00
144a32ae93 Fix some makefile generation issues
All checks were successful
the build was successful
2019-03-10 17:27:59 +01:00
9537759d6a Start the switch to pattern rules in makefile
All checks were successful
the build was successful
2019-03-10 15:39:23 +01:00
22ead941c7 Remove workaround for bug in GNU make 4.0
All checks were successful
the build was successful
claus.fsfeurope.org is now updated to make 4.1
2019-03-10 10:51:53 +01:00
e1d87f76f7 Fix escaping
All checks were successful
the build was successful
2019-03-10 09:42:05 +01:00
8a66b0e1f3 Make sure to create manifest file in the correct directory 2019-03-10 01:08:46 +01:00
4d1c998d35 Improve default part of makefile
All checks were successful
the build was successful
The comma in "\$(file >manifest,)" avoids a segfault with GNU Make 4.0
2019-03-09 20:55:42 +01:00
40e85d3e09 Change order in makefile so "all" is the default rule 2019-03-09 19:07:16 +01:00
abe3d83070 Update method to delete excess files
All checks were successful
the build was successful
The new method also works for generated files (for example tag lists for
not-anymore-existent tags). The change is also a preparation for
possible replacements of generated Makefile sections into pattern rules.
2019-03-09 01:21:03 +01:00
4d1c76951d Completely rewrote tagmap generation
All checks were successful
the build was successful
Fixes #63
Fixes #591
2019-03-07 23:47:27 +01:00
b150aaf0ba Improve error handling even more
All checks were successful
the build was successful
After the build of a file has failed, remove the output file, so it is
retried at the next build again, even if the corresponding source has
not changed.
2019-02-16 13:11:47 +01:00
26e29088f3 Fix handling of XML parser errors
All checks were successful
the build was successful
This change makes sure that the build script will stop if an XML parser
error occures, and the faulty build will not be propagated to the web
server. Please note that it requires switching all the shell scripts to
bash.
2019-02-16 09:53:32 +01:00
538a3237f2 bugfix in ignoring vcs directories 2017-08-18 16:45:59 +02:00
19ba5a4602 ignore .git folder in build operation 2017-08-18 16:00:40 +02:00
19853ef064 compatibility and portability changes from test
svn path=/trunk/; revision=34953
2017-01-18 19:29:15 +00:00
2b519a3c7e let otuput HTML depend on all language versions, so translation links can get changed; also reduce disk i/o and forks
svn path=/trunk/; revision=34370
2016-10-14 19:53:52 +00:00
d1c05f9f34 run quicker tagging engine in prebuild
svn path=/trunk/; revision=34240
2016-09-07 16:35:07 +00:00
489de90db4 retain line breaks and spacing of xml/xhtml source files
svn path=/trunk/; revision=33309
2016-05-09 20:45:56 +00:00
16e7ff8d93 merge in support for nightly triggers and local menus
svn path=/trunk/; revision=32215
2015-10-28 21:28:21 +00:00
e1b628b27d merge: drop non language specific sources cache
svn path=/trunk/; revision=32074
2015-10-08 07:38:44 +00:00
6675d89628 fix update/rebuild issues
svn path=/trunk/; revision=31948
2015-09-24 12:59:54 +00:00
5eb09142b8 ignore langglobs for copying
svn path=/trunk/; revision=31938
2015-09-22 15:15:33 +00:00