2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-20 17:12:18 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Daniel James
90814d8302 Add 'minor release' for non-point release number, and use in template 2017-08-27 23:53:31 +01:00
Daniel James
ac91fe9cc7 Fix generate.php for non-standard branches 2017-06-09 21:16:51 +01:00
Daniel James
f05ec0d94a Allow '.' after 'beta' in version numbers
For example, boost.1.63.0.beta.1, which is the format used in
subversion release directories.
2016-11-30 05:29:47 +00:00
Daniel James
ea3fc601a6 Store documentation details in BoostDocumentation
Allows the library list implementation to be a bit cleaner.
2016-11-30 01:30:15 +00:00
Daniel James
be4fd29599 Strict version parsing in BoostVersion::from
It used to just grab anything that looked like a version number from a
string. Now the whole string must be a version number. Left the library
list in a little bit of a mess, but will clean that up next.
2016-11-30 01:29:27 +00:00
Daniel James
3e28274c53 Clean up some of the confusing version code 2016-11-14 22:54:08 +00:00
Daniel James
5ae00e9eb0 Support more release stages in BoostVersion
So that a release can have a version number before it goes into beta.

Note: needed to run update-doc-list for this to work, as the serialised
documentation list includes version numbers.
2016-11-14 22:53:35 +00:00
Daniel James
c8f365bd26 Merge branch 'develop'
Pretty large development merge. Including:

- More robust PHP error handling.
- Automatically update release data from various sources. Manually
  updating a json file was too error prone.
- Normalize hashes of release notes, so that they won't need to be
  manually updated so often.
- Small improvements to quickbook page data.
- Cache html generated from quickbook - so no need to reparse when
  changing release data. Much of the site can now be rebuilt without
  installing quickbook, although changes in quickbook won't be included.
- Scripts in site-tools have are more consistent at the command line,
  and all support '--help' (although some have very little information).
- Automatically update more of the site for new releases.
2016-10-30 19:57:32 +00: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
666f757a06 Add a base_version method to BoostVersion 2016-10-16 19:51:49 +01:00
Daniel James
bfd4f9ed8f Support for generating root index file 2016-10-06 22:42:03 +01:00
Daniel James
136f1c8f33 Allow separator between beta and number. 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
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
c22d8c28ba Fix documentation link rewriting. 2016-08-24 16:25:49 +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
140b6c042e Rejig the update mechanism.
Now cleans up the database even when there are no updates. Updating for
a relese is better integrated. And also sets up the ground work for
deleting libraries.
2015-11-15 15:08:32 +00:00
Daniel James
80c11140c8 Add special versions 'hidden' and 'unreleased'.
So that 'boost-version' is never null.
2015-11-15 15:08:32 +00:00
Daniel James
d906753f3c Fix BoostVersion::page_version for git branches. 2015-08-23 17:59:28 +01:00
Daniel James
623b7be41c Better handling of invalid versions. 2015-01-10 13:44:58 +00:00
Daniel James
aca73143c7 Try to fix test results.
It was incorrectly changing 'develop' to 'boost_develop'.
2014-08-19 17:49:57 +01:00
Daniel James
5c762aea9a Setup autoloading. 2014-08-07 20:34:30 +01:00
Daniel James
67329904aa Fix is_numbered_release. 2014-08-06 20:02:11 +01:00
Daniel James
24a8f38712 Better support for beta versions.
It used to just ignore the beta information, but that wasn't quite right.
This does means that the library details will still have information about
the beta version after a release, which isn't desirable, but it
shouldn't be too hard to write something to strip out old beta
information.
2014-07-21 22:29:42 +01:00
Daniel James
860cb21970 Custom html_encode to use UTF-8.
PHP 5.4 uses UTF-8 by default, but PHP 5.3 uses ISO-8859-1 so character
encoding is going wrong there. So replace htmlentities with a function
that uses the correct encoding.
2014-07-20 23:36:24 +01:00
Daniel James
efc08e09fb Support release versions in update. 2014-07-13 11:21:44 +01:00
Daniel James
4e0dbc79c3 Move page title generation into BoostVersion. 2014-04-16 04:35:55 +01:00
Daniel James
76f9b6dd1e Better logic for setting version info. 2014-02-28 09:12:48 +00:00
Daniel James
b45d0f98ed Add support for versions based on super project branches. 2014-02-01 21:54:22 +00:00
Daniel James
22c605779e Remove BoostVersion's constructor.
Will use static functions of different types of version.
2014-02-01 21:54:22 +00:00
Daniel James
553cba5f2b Make BoostVersion's members private. 2014-02-01 21:54:22 +00:00
Daniel James
bbfd2e4e83 Drop unused constants. 2014-02-01 21:54:22 +00:00
Daniel James
d943d39d07 Website: Merge from beta to live
[SVN r80314]
2012-08-29 22:37:51 +00:00
Daniel James
3e2e55ad7a Merge some mall documentation improvements from beta.
[SVN r65026]
2010-08-26 20:43:01 +00:00
Daniel James
7a627f0be7 Merge 1.44 to release.
[SVN r64854]
2010-08-16 18:17:44 +00:00
Daniel James
c211135167 Merge from beta. Improvements to documentation display, use quickbook 1.5 for history template.
[SVN r62276]
2010-05-27 20:51:56 +00:00
Daniel James
3f5f2c5eff Include the boost version in the documentation page.
[SVN r50772]
2009-01-25 17:40:57 +00:00
Rene Rivera
970244e947 Minor clean up of source code to move some duplicate code to common location.
[SVN r38446]
2007-08-04 20:38:01 +00:00
Rene Rivera
b213bbeca4 Remove the unused phpWebnotes files.
Add a common configuration file.
Attempt to fix the feed reading.

[SVN r3999]
2007-05-04 23:40:25 +00:00
Rene Rivera
7f0b38eea7 Implement XML db for library information. Make the docs display from the libraries.xml db.
[SVN r76]
2006-02-20 00:13:42 +00:00
Rene Rivera
c4fc2b9d19 Add access to multiple versions of the documentation.
[SVN r68]
2006-02-13 06:48:35 +00:00