2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-30 08:22:18 +00:00
Commit Graph

781 Commits

Author SHA1 Message Date
Daniel James
0e9826c1de Try to clean up get_release_status 2016-10-11 16:48:32 +01:00
Daniel James
a97952ddf8 Replace page date 'type' with 'section'. 2016-10-11 16:48:31 +01:00
Daniel James
3965067965 Store page_locations in BoostPages
Allows me to get rid of that horrible dir_location mechanism.
2016-10-11 16:48:31 +01:00
Daniel James
685750fc7e Script to automatically add documentation to release data.
This could do a lot more, but just something very basic to get going for
the next release.
2016-10-07 18:57:04 +01:00
Daniel James
629a3c451f Prefer released version to unreleased versions.
The problem is that if a beta had been released, then when the next
beta, or the final release was first added it would override the beta.
This would then set the status to unreleased. The whole release_status
mechanism is a bit messy and may need to be reconsidered.
2016-10-07 09:48:02 +01:00
Daniel James
7ee9d41e9e Update release downloads from file
Pretty rough at the moment.
2016-10-07 09:48:02 +01:00
Daniel James
0f44582d07 Load and save release data, still need to update.
Also normalized the beta version numbers in the state file.
2016-10-07 09:48:02 +01:00
Daniel James
4f63803148 Extract release data into its own class 2016-10-07 09:48:02 +01:00
Daniel James
bfd4f9ed8f Support for generating root index file 2016-10-06 22:42:03 +01:00
Daniel James
5902327877 Sort pages on access.
There was a bug where the chronological order of pages wasn't updated
immediately for new pages.
2016-09-30 11:16:21 +01:00
Daniel James
6f25235d41 Normalize release data before hashing.
So that the hah values remain the same as they are on master.
Probably more effort than was required to manually fix the hashes every
time they change, but I was getting a bit fed up of that. Although I
suspect some reason will still come up so that I'll have to manually fix
the hashes again.
2016-09-29 16:43:06 +01:00
Daniel James
43d7e2069c Convert release date to a 'state' file.
Currently no way to update it (apart from manually, which is awkward),
but the plan is to do so automatically.

This messes up the hashes again. Probably best to resolve manually,
although it might be possible to emulate the old hashes.
2016-09-29 16:43:06 +01:00
Daniel James
f32396468d More accurate name 2016-09-29 12:35:22 +01:00
Daniel James
975a4c48f8 Converted some error message to interpolated strings.
I'd missed a comma in one of them, so it wouldn't work. I find
interpolated strings to be more robust in this regard.
2016-09-29 12:30:33 +01:00
Daniel James
5afbf3178c Sort pages on access.
There was a bug where the chronological order of pages wasn't updated
immediately for new pages.
2016-09-29 11:21:06 +01:00
Daniel James
3e7cf770c8 Remove empty data 2016-09-29 10:54:08 +01:00
Daniel James
19ffa52457 Get release data for notes based on parsing filename. 2016-09-29 10:54:08 +01:00
Daniel James
65a8d87fe7 Replace release_status with version. 2016-09-29 10:54:08 +01:00
Daniel James
136f1c8f33 Allow separator between beta and number. 2016-09-29 10:54:08 +01:00
Daniel James
dee3c0206f Store the version as a version object. 2016-09-29 10:54:08 +01:00
Daniel James
c648f992db Infer release_status from the version.
Apart from 'unversioned' which needs a special case. Might be better to
store the version object and use that.
2016-09-29 10:54:08 +01:00
Daniel James
8cdac6a4bb Update version comments
Seems at some point I implemented beta numbers, but the comments claim
they're not supported.
2016-09-29 10:54:08 +01:00
Daniel James
ce0e6d38af Use the most recent release data in get_release_data. 2016-09-29 10:54:08 +01:00
Daniel James
b1e65390bd Remove superfluous version field 2016-09-29 10:54:08 +01:00
Daniel James
7ca520e013 Get the tests working again. 2016-09-29 02:08:52 +01:00
Daniel James
b8120cc53c Adjust a lot of the error handling.
Use exceptions for most internal errors. Return error codes for most errors.
2016-09-29 02:08:52 +01:00
Daniel James
f4472fc751 Website bootstrap file.
Sets up error handling and timezone, maybe other things in the future.
2016-09-29 02:08:52 +01:00
Daniel James
58543a3ae5 Fix the unversioned library page. 2016-09-28 22:42:30 +01:00
Daniel James
8d03a339c0 Update various places where release is set. 2016-09-28 13:07:03 +01:00
Daniel James
3bd06c1594 Cleaner code to decide whether to show documentation list. 2016-09-21 09:14:21 +01:00
Daniel James
c7369480c7 Extract the documentaion path logic.
I normally try to avoid using compact/extract, but that seems the
simplest way to do this here.
2016-09-21 09:14:21 +01:00
Daniel James
862024b0af Don't update new library versions in every beta. 2016-09-15 10:28:31 +01:00
Daniel James
3f0b8b1717 Restore support for numbered beta releases.
This is roughly how it used to work. It's a bit shoddy though, probably
need to support storing details for all beta releases and release candidates.
2016-09-14 13:42:38 +01:00
Daniel James
8d15a6f84d More BoostLibraries tests. 2016-08-24 17:26:28 +01:00
Daniel James
9a7a44e073 Work when latest_version isn't set. 2016-08-24 17:26:27 +01:00
Daniel James
43339dda58 Update latest version on release. 2016-08-24 17:16:20 +01:00
Daniel James
ac9efd7b59 Store the latest library version.
Will need to automatically update when updating doc list.
2016-08-24 17:16:19 +01:00
Daniel James
0eb7661466 Make the note on release notes a bit clearer. 2016-08-24 17:16:18 +01:00
Daniel James
c22d8c28ba Fix documentation link rewriting. 2016-08-24 16:25:49 +01:00
Daniel James
c927a1e22f Link to snapshot download page from dev release notes. 2016-08-08 13:08:02 +01:00
Daniel James
2a9de1a31b Fix quickbook filter. 2016-08-07 10:04:09 +01:00
Daniel James
28cf2392e4 In quiet mode, don't warn about remote doc modules. 2016-08-07 09:53:46 +01:00
Daniel James
61bc6afe84 Optimize some regular expressions.
Prompted by:

http://stackstatus.net/post/147710624694/outage-postmortem-july-20-2016

Not really an issue here, as mostly processing our own files, so they
should be less problematic. The version number parsing code might have
an issue with really long URLs, but I don't think that's possible. But
fix it anyway.
2016-07-30 11:59:45 +01:00
Daniel James
f7821755f7 Cleaner text filter implementation. 2016-07-30 11:58:25 +01:00
Daniel James
0d0006cce7 Fix title on quickbook source. 2016-07-30 11:43:03 +01:00
Daniel James
be3fc4e515 Merge branch 'feature/webhook' 2016-07-30 10:56:17 +01:00
Daniel James
9b1f368020 Remove unused feed parsing class. 2016-07-21 16:05:37 +01:00
Daniel James
607173fae6 Use DateTime for RSS last_modified. 2016-07-21 16:05:37 +01:00
Daniel James
1cee6728cc Support dates in state files. 2016-07-21 16:05:36 +01:00
Daniel James
1d3968a616 Use DateTime for timestamps.
Preserves timezone.
2016-07-21 16:05:35 +01:00