aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-19 16:19:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-19 16:19:29 +0300
commit90a6531951546ae88a695410013b908b50cd6fd0 (patch)
tree441f38bf549354469370ca781801c591dc89aadc /libbrep/build.hxx
parentd1d777fbe517b00544402cc8bdaa99c6550ce417 (diff)
Rename build states to unbuilt, building and built
Diffstat (limited to 'libbrep/build.hxx')
-rw-r--r--libbrep/build.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/libbrep/build.hxx b/libbrep/build.hxx
index 112100a..9258bb3 100644
--- a/libbrep/build.hxx
+++ b/libbrep/build.hxx
@@ -64,9 +64,9 @@ namespace brep
//
enum class build_state: std::uint8_t
{
- untested,
- testing,
- tested
+ unbuilt,
+ building,
+ built
};
string
@@ -117,7 +117,7 @@ namespace brep
public:
using timestamp_type = brep::timestamp;
- // Create the build object with the testing state, non-existent status,
+ // Create the build object with the building state, non-existent status,
// the timestamp set to now and the forced flag set to false.
//
build (string package_name, version package_version,
@@ -144,11 +144,11 @@ namespace brep
//
bool forced;
- // Present only if the state is 'tested'.
+ // Must present for the built state, may present for the building state.
//
optional<result_status> status;
- // Present only if the state is 'testing' or 'tested'.
+ // Present only for building and built states.
//
optional<string> machine;
optional<string> machine_summary;