50 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 d1defc73f8559f119053e6c856425aa14c15d43f.
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
91b49c6323
Simplify logic around triggering full build on webserver
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-23 13:01:45 +02:00
8ac903a1ce
Fix full build triggering full rebuild every time
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-22 09:24:37 +02:00
a1f905000a
More status fixes
All checks were successful
continuous-integration/drone/pr Build is passing
2024-08-15 17:34:47 +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
e753e02fce Add a search functionality (Fixes #739) (#1635)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: max.mehl <max.mehl@fsfe.org>
Co-authored-by: Vincent Lequertier <vincent@fsfe.org>

Reviewed-on: #1635
2020-11-12 15:17:43 +00:00
f36d5c98b7 Make build try git pull 3 times (#1525)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: max.mehl <max.mehl@fsfe.org>
Reviewed-on: #1525
Reviewed-by: Reinhard Müller <reinhard@fsfe.org>
2020-07-28 15:59:05 +02:00
d225431b05 Add new build option "build_run"
All checks were successful
continuous-integration/drone/push Build is passing
This option does not mess around with git at all and is preferred for
local builds where you might have uncomitted changes.
2020-05-16 21:32: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
df545e72a8 Re-introduce the possibility of a full-build
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #852
2020-04-23 17:15:49 +02:00
Thomas Doczkal
d760de6a74 check for make-4.x before starting build process and exit with error
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-23 07:49:39 +02:00
b83e8a1d17
de-duplicate dependency check
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-03-24 17:58:02 +01:00
29458db905
check for lessc on build server
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2020-03-24 12:40:21 +01:00
d4bbba4bf9
avoid permission denied error when running as su'ed unprivileged user
Background: https://unix.stackexchange.com/questions/38538/bash-dev-stderr-permission-denied
2020-03-24 12:22:05 +01:00
2221efa394 Add dependency check for the correct version of make
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-23 15:54:59 +01: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
40f9044019 Add feature to wake up news *and* events
All checks were successful
the build was successful
2019-03-12 01:51:47 +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
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
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
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
8a6b9bc70e Fix exit status of main script
All checks were successful
the build was successful
It should only be 0 if there was a successful build, otherwise the cron
job will deploy a potentially broken previous build when no git change
is detected.
2019-02-16 15:25:05 +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
c62f85499a accept git_build_into argments 2017-08-18 18:55:38 +02:00
49fb51d495 added hooks for git_build_into
svn path=/trunk/; revision=35776
2017-08-18 11:47:29 +00:00
1d69fa0bc4 recommit modified flag file checker for forcing full builds
svn path=/trunk/; revision=35456
2017-06-13 20:27:09 +00:00
8693463716 Reverting to r35379 for build_main.sh
svn path=/trunk/; revision=35453
2017-06-13 14:04:48 +00:00
bc0e52f316 allow flag file to force full rebuild
svn path=/trunk/; revision=35443
2017-06-12 15:36:29 +00:00
9b60ef3c95 added wget to dependency list (for wiki fetcher)
svn path=/trunk/; revision=35379
2017-05-22 15:25:17 +00:00
9666985ffe implement a dependency checker
svn path=/trunk/; revision=34950
2017-01-18 15:54:50 +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
d77f6b2dc1 use updated status script when building
svn path=/branches/test/; revision=31865
2015-09-14 14:15:53 +00:00
f72c5d2509 improved status logging
svn path=/branches/test/; revision=31863
2015-09-14 13:37:18 +00:00
c7e970e296 introduces refglobs as "dependency guard", to prevent documents from rebuilding due to unimportant changes
svn path=/branches/test/; revision=31644
2015-08-03 17:12:52 +00:00
c12383323c improved logging, some relieve to caching artifacts in dependency build, still to much globbing
svn path=/branches/test/; revision=31575
2015-07-28 17:20:54 +00:00
e3d0971de0 introduced tagging in the include system
svn path=/branches/test/; revision=31504
2015-07-16 16:42:43 +00:00
28dd400865 improve sister process detection
svn path=/branches/test/; revision=31310
2015-06-02 12:34:41 +00:00
b6bb1f9bc4 refine detection of running instances, set up status directory before first potential error output
svn path=/trunk/; revision=31295
2015-06-01 13:15:58 +00:00
c12aca6b6c set statusdir only after confirmed directory setup
svn path=/trunk/; revision=31291
2015-06-01 00:18:53 +00:00
cb85e37e62 be compatible with realpath tool in debian wheezy
svn path=/trunk/; revision=31289
2015-06-01 00:01:37 +00:00
02f1d40e09 basic svn capability
svn path=/trunk/; revision=31288
2015-05-31 21:09:48 +00:00
1490e31ffb normalize path names
svn path=/trunk/; revision=31284
2015-05-30 14:04:30 +00:00
b75f5e8dbe make sure domain variable is set (ugly), regenerate make sections when instruction variables are empty
svn path=/trunk/; revision=31280
2015-05-29 11:24:33 +00:00
15ed401bf3 refine process matching
svn path=/trunk/; revision=31263
2015-05-23 17:10:34 +00:00
ca211bad25 stupid! of course the build script is running when it checks whether it is runnning... account for that when testing for other build processes
svn path=/trunk/; revision=31262
2015-05-23 10:46:52 +00:00
2928bf1617 do not run build script if process already exists
svn path=/trunk/; revision=31261
2015-05-23 10:16:58 +00:00
76d59cf156 separate help text into static file
svn path=/trunk/; revision=31258
2015-05-22 18:51:18 +00:00
6da028e90f split up build script
svn path=/trunk/; revision=31254
2015-05-21 16:31:43 +00:00