2
0
mirror of https://github.com/boostorg/website.git synced 2026-02-25 04:42:32 +00:00
Commit Graph

3758 Commits

Author SHA1 Message Date
Daniel James
aad8876a69 Fix documentation list 2016-10-16 19:51:49 +01:00
Daniel James
995ebd4df9 Save the current version to a file
Code is very messy, but now there's nothing that needs to be manually
updated for a new version.
2016-10-16 19:51:49 +01:00
Daniel James
2ec09f6f47 Automatically update the documentation list 2016-10-16 19:51:49 +01:00
Daniel James
76e5d9c6a0 Automatically update htaccess file for releases. 2016-10-16 19:51:49 +01:00
Daniel James
666f757a06 Add a base_version method to BoostVersion 2016-10-16 19:51:49 +01:00
Daniel James
ebb3c47c2b Store release date
Previously was using the quickbook file's pub_date, By using the date
the release script was run on, can release without updating the
quickbook file. So the release manger won't need to have quickbook
installed. At least in theory!
2016-10-16 14:10:42 +01:00
Daniel James
699d3cd115 Add note about converting dates
This code was added for transitioning from the old data format, now that
it is no longer in use, probably isn't needed any more. At some point
older version will stop working anyway as I'm not testing for full
backwards compatability. But I'll leave it in for a little while longer.
2016-10-16 14:01:40 +01:00
Daniel James
3c89a0384e Add script to mark a version as released 2016-10-16 13:17:20 +01:00
Daniel James
8979179697 Improve user info in site-tools
Still not great. I also want to make things more automatic in the
future, so hopefully there will be less to document.
2016-10-16 12:52:01 +01:00
Daniel James
8080d5112a Make scan-documentation.php executable 2016-10-16 12:52:01 +01:00
Daniel James
b858635e19 Simple command line parser
A very simple command line parser to make the command line scripts a bit
more consistent and a tad more user friendly.
2016-10-16 12:52:01 +01:00
Daniel James
d5ad167d00 Support namespaces in autoloading 2016-10-16 12:23:47 +01:00
Daniel James
6876756499 Bootstrap is also appropriate for command line tools. 2016-10-16 11:29:39 +01:00
Daniel James
eecdeb6241 Cache html generated from quickbook files
So that when changes to the release status are made, the site can be
rebuilt without using quickbook. Pretty messy.
2016-10-16 11:29:38 +01:00
Daniel James
0365d81d62 Add array_get utility function 2016-10-13 09:46:50 +01:00
Daniel James
fe72142cf3 Always store version as object
Can now convert to string in normalization, so there's no reason to
store it as a string.
2016-10-11 16:48:32 +01:00
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
f8f2df2ff5 Merge branch 'master' into develop 2016-09-30 11:19:53 +01:00
Daniel James
b9e3c4d75b Rebuild 2016-09-30 11:16:43 +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
1cb78a2b06 Add release notes for 1.63.0 2016-09-30 11:15:48 +01:00
Daniel James
669566099d Remove old json file, and script for converting it 2016-09-29 16:43:07 +01:00
Daniel James
c4fdb057c3 Revert state changes.
Since this is now generating the same hash codes as master, revert the
appropriate files to be the same as master.
2016-09-29 16:43:07 +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
a79cf02921 Remove old script for generating download data 2016-09-29 16:43:05 +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
813aa4e36e Rebuild 2016-09-29 11:21:34 +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
8ed3fde9d5 Add release notes for 1.63.0 2016-09-29 10:54:08 +01:00
Daniel James
a0258c921c Update the quickbook hashes.
Bit messy, do I need to support this better? Or should I just refresh
everything?
2016-09-29 10:54:08 +01:00
Daniel James
5033b2943b Remove metadata from release notes template 2016-09-29 10:54:08 +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
51b4e0e00f Restore beta info for latest release.
Not support yet, but that's the plan.
2016-09-29 10:54:08 +01:00
Daniel James
b1e65390bd Remove superfluous version field 2016-09-29 10:54:08 +01:00