diff options
Diffstat (limited to 'brep')
-rw-r--r-- | brep/build | 6 | ||||
-rw-r--r-- | brep/build.cxx | 3 | ||||
-rw-r--r-- | brep/build.xml | 1 |
3 files changed, 6 insertions, 4 deletions
@@ -101,8 +101,8 @@ namespace brep public: using timestamp_type = brep::timestamp; - // Create the build object with the testing state, non-existent status and - // the timestamp set to now. + // Create the build object with the testing state, non-existent status, + // the timestamp set to now and the forced flag set to false. // build (string name, version, string configuration); @@ -120,7 +120,7 @@ namespace brep // True if the package rebuild has been forced. // - //bool forced; + bool forced; // Present only if the state is 'tested'. // diff --git a/brep/build.cxx b/brep/build.cxx index c93c062..48235f5 100644 --- a/brep/build.cxx +++ b/brep/build.cxx @@ -39,7 +39,8 @@ namespace brep package_version (move (pvr)), configuration (id.configuration), state (build_state::testing), - timestamp (timestamp_type::clock::now ()) + timestamp (timestamp_type::clock::now ()), + forced (false) { } } diff --git a/brep/build.xml b/brep/build.xml index 5f75928..2a222f4 100644 --- a/brep/build.xml +++ b/brep/build.xml @@ -11,6 +11,7 @@ <column name="package_version_release" type="TEXT" null="true"/> <column name="state" type="TEXT" null="false"/> <column name="timestamp" type="BIGINT" null="false"/> + <column name="forced" type="BOOLEAN" null="false"/> <column name="status" type="TEXT" null="true"/> <primary-key> <column name="package_name"/> |