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
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
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