2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-22 05:42:52 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Daniel James
1a1dd6810a Remove the chrono/Stopwatch manual metadata override
It now has status=unrelease in both develop and master.
2017-07-08 20:53:44 +01:00
Daniel James
2b2298c599 Add support for 'removed' status + remove TR1 2017-07-02 14:52:36 +01:00
Daniel James
7a543697b6 Temporary fix for Chrono/Stopwatch in documentation list
Its metadata was added before 'status unreleased' was added, so it
doesn't have it yet.
2017-02-03 09:08:01 +00:00
Daniel James
38a3eaa5ec Auto-capitalize library names 2017-01-25 01:10:56 +00:00
Daniel James
768ceaa946 Fix case insensitive category names
Now they are indexed by lower case name, and library category is stored
in lower case.
2017-01-21 13:13:34 +00:00
Daniel James
8abdbd3938 Remove a load of old TODO notes
boost_archive.php:

For mime types, the current list seems fine, and a full list doesn't
seem feasable.

boost_filter_text.php:

For supporting other character sets, could possibly use
mb_detect_encoding to guess the file's encoding, but it's not currently
installed on the server, and I think guesses are probably no better than
just assuming everything is UTF-8. The alternative would be some
mechanism to specify a file's (path's?) encoding, but I'm sure that can
be done if the need arises.

boost_library.php:

If it turns out that a better exception is needed, then it will be
handled then, so I'm not concerned with that TODO note.

boost_pages.php:

Sourceforge is redirecting downloads to the right place, so I'll not
bother with '/download' at the end. It's probably better if the download
URLs have the right filename.

boost_simple_template.php:

I don't think the simple template class really needs to support tricky
edge cases, so I'll just leave that alone.

doc/libraries.php:

I don't think anyone's desperate to see the library list for ancient
versions. If they are, they can get the it in json format using:
http://www.boost.org/doc/libraries.json.php?version=1.11.1

site-tools/git-prep-beta.sh:

Coming back to this, I think the answer is no. A change on master is
only really made when it has been pushed to remote, if it's only local
then it might get rebased.

This script doesn't actually get much use now that there are long
standing unmerged changes in beta, but it used to work well for me.

site-tools/update-doc-list.php:

Other TODO note was to make the script a little more automatic when run
against a local git tree, but I don't think that's a use case to support
in general. The tree might not be fully synced, or might be checked out
from a tag, which would be harder to check.
2016-11-30 01:53:57 +00:00
Daniel James
3e23bcae9a Support status=unreleased 2016-11-14 22:45:28 +00: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
23e0d6c01e Add support for status=hidden. 2016-07-04 23:14:29 +01:00
Daniel James
0cfef1fceb Store library path in metadata, instead of module.
This allowed me to simplify some of update-doc-list as there's no longer
any need to work out the module for a library.  This might break
update-doc-list in places. Will work on that next.
2016-07-04 22:45:49 +01:00
Daniel James
941ab8267c Allow empty array in metadata file. 2016-06-22 08:37:44 +01:00
Daniel James
f160d6cc55 Autoload URL handling. 2016-05-26 00:12:07 +01: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
914b778b68 Normalize category case in libraries. 2015-04-26 23:59:40 +01:00
Daniel James
7db317dd25 Create json output from array of BoostLibrary. 2015-04-21 00:20:08 +01:00
Daniel James
65f53470aa Remove $info stuff from BoostLibrary.
Module + path can be set after construction. This will be useful when
loading from a release without the git metadata. Also, the $info stuff
was pretty rubbish.
2015-04-21 00:20:08 +01:00
Daniel James
a34e3d2770 Remove leading slashes from documentation urls
Documentation urls are considered relative from the root of the repo.
2014-09-28 16:57:15 +01:00
Daniel James
41635fa386 Deal with some empty values. 2014-08-21 20:22:32 +01:00
Daniel James
af3ed55028 Remove 'update-version' from BoostLibrary details.
It really shouldn't be stored in BoostLibrary at all, but it makes it a
tad easier to have the object readily available.
2014-08-20 20:08:32 +01:00
Daniel James
2d47ea67b8 Clean up module details.
Now set when BoostLibrary is constructed, so the data should always be
correct.
2014-08-20 20:08:31 +01:00
Daniel James
6fb91aaf33 Extract some methods dealing with library details. 2014-08-20 20:08:31 +01:00
Daniel James
a713234ed9 Create BoostLibrary for a library's info. 2014-08-20 20:08:31 +01:00