Remove SHA-1 hash from BuildProducts
[?]
Jul 27, 2020, 4:24 PM
HPXFXHFSOC4CR5CQYY67EY57DUPMQA2JAR4MLIL5YN64W4PFQQZQCDependencies
- [2]
RO5E66ZCmake filesize field for buildproducts a bigint to support big files - [3]
D3TQWCLVStupid capitalization scheme - [4]
RHMUFX4Rproduct list: convert to a proper table - [5]
GRMV5GEWAdds documentation for the external API (#441) - [6]
6ZXL5UOPAdd a plugin to execute arbitrary commands when a build finishes - [7]
IGR322YPsql: Generate models from postgresql - [8]
DKR2GXSAUpdate libpqxx usage to move away from deprecated API interactions. - [9]
LX326CB7Add hydra OpenAPI description (#750) - [10]
L2E6EVE2* Merged the Build and Job tables. - [11]
LZVO64YGMerge in the first bits of the API work - [12]
LKEX7GZ4Show buildinput and buildproduct information in the Builds API - [13]
37R34XJO* Negative caching: don't perform a build if a dependency already - [14]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [15]
CMU3YKOU* Store the release name. - [16]
EYNG4EL4* Regenerate the bindings from a clean sqlite database. - [17]
UFR64PJ7Hide contents links - [18]
S5PV6IIM* Represent jobs explicitly in the DB. - [19]
X27GNHDV* Basic job info in the database. - [20]
SHBLLAVH* More global substitution. - [21]
OAGCZHK6Allow for precisely one instance of RunCommand plugin - [22]
3E6IP3R3* Add the name of the jobset to ReleaseSetJobs, otherwise we can't - [23]
7YBYT2LQ - [24]
SB2V735VKeep track of the database schema version - [25]
3ZAJ2ZRPUse popovers for the product list help/details - [26]
S6OISBQ3* Mark the "current" builds in a jobset, i.e. those corresponding to - [27]
D3DIBMOK* For products that are directories (like manuals), allow a default - [28]
GNIEG2GC* Disambiguate jobs by jobset name. I.e. jobs with the same name in - [29]
BAFICF73Support hydra-build-products on binary cache stores - [30]
PHX2HIVG* Store info about the build inputs in the build record. - [31]
ZEHSSVFG - [32]
ECBA3GQO* Make the schema class names match the case of the SQL table names. - [33]
AHTEIK7G* Added a maintainers field to the Builds table. - [34]
24BMQDZAStart of single-process hydra-queue-runner - [35]
FHF6IZJQ* Basic release management: releases are now dynamically computed as - [36]
R5D7DZPE - [37]
N74SRHS6Remove the "releases" feature - [38]
67P45PY4 - [39]
BHZXGT2H* Channels: provide an index page that lists all the packages in the - [40]
H7CNGK4O* Log evaluation errors etc. in the DB. - [41]
V4RNHJNR* Add a link to each project's homepage. Suggested by karltk. - [42]
TWVSALRL* Allow the maximum number of concurrent builds per platform to be - [43]
S66BOMVU* Added authentication. - [44]
VJHIHMEH* Store the meta.longDescription and meta.license attributes in the - [45]
TQKGQ5R3 - [46]
GD2WBYPTRunCommand: Return metrics as a float - [47]
WYN733ST* Store build duration, handle cached builds. - [48]
KN3VYE5P* Cleaned up the foreign key constraints. - [49]
YTZOC7C5* Editing of jobset inputs. - [50]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [51]
3HCBU2FA - [52]
TLZ2SPBR - [53]
XOPHD47YFix JSON output for builds - [54]
6BLUKEQ2* Caching of "path" inputs, and fake a revision number for those. - [55]
WDGARQ76Reuse build products / metrics stored in the database - [56]
CLJQCY2X* Store info about all the build actions and allow them to be - [57]
M552HLIA* Support variant builds. - [58]
BVOPAMLS - [59]
B72GLND4 - [60]
IK53RV4V - [61]
ZVTSOVHN* Support Subversion checkouts. - [62]
YAPITGB3* Boolean inputs. - [63]
RU7AQO7U* Role-based access control. Only admins can create projects. Only - [64]
LCKWLQW3* In Sqlite "release" is now a keyword, so use "release_" instead. - [65]
4D4U5IPY* Allow jobsets to be disabled. - [66]
P5X4P6VK* Renaming "release sets" to "views" (not finished yet). Having - [67]
RUTFLXFQDrop unused BuildProducts.description column - [68]
RBNQKATL* Adding persistant releases. A release is a named set of builds. - [69]
JTRG7RDQadd support for git as jobinput - [70]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [71]
GWCV3TQV* BuildInputs table: link to dependencies, include store paths. - [72]
J5UVLXOK* Start of a basic Catalyst web interface. - [73]
3ZCEPLNO - [74]
Y6AHH4THRemove the logfile and logSize columns from the database - [75]
PW4TLMWSSync with latest Nix - [76]
T5BIOVJEAdd support for tracking custom metrics - [77]
KOTB7BKV - [78]
DVNWJXWW* Generic declaration of build products. - [*]
MHVIT4JYSplit hydra-queue-runner.cc more - [*]
JFZNAYJX* Showing releases. - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- edit in doc/manual/api.xml at line 314
"sha1hash": null, - edit in hydra-api.yaml at line 675
sha1hash:nullable: truedescription: sha1 hash of the filetype: string - edit in hydra-api.yaml at line 862
sha1hash: null - edit in src/hydra-queue-runner/build-result.cc at line 81
product.sha1hash = hashString(htSHA1, contents); - replacement in src/hydra-queue-runner/build-result.hh at line 14
nix::Hash sha1hash, sha256hash;nix::Hash sha256hash; - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 417
("insert into BuildProducts (build, productnr, type, subtype, fileSize, sha1hash, sha256hash, path, name, defaultPath) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)",("insert into BuildProducts (build, productnr, type, subtype, fileSize, sha256hash, path, name, defaultPath) values ($1, $2, $3, $4, $5, $6, $7, $8, $9)", - edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 423
product.isRegular ? std::make_optional(product.sha1hash.to_string(Base16, false)) : std::nullopt, - replacement in src/hydra-queue-runner/queue-monitor.cc at line 635
("select type, subtype, fileSize, sha1hash, sha256hash, path, name, defaultPath from BuildProducts where build = $1 order by productnr",("select type, subtype, fileSize, sha256hash, path, name, defaultPath from BuildProducts where build = $1 order by productnr", - replacement in src/hydra-queue-runner/queue-monitor.cc at line 649
product.sha1hash = Hash(row[3].as<std::string>(), htSHA1);product.sha256hash = Hash(row[3].as<std::string>(), htSHA256); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 651
product.sha256hash = Hash(row[4].as<std::string>(), htSHA256);if (!row[5].is_null())product.path = row[5].as<std::string>();product.name = row[6].as<std::string>();if (!row[7].is_null())product.defaultPath = row[7].as<std::string>();product.path = row[4].as<std::string>();product.name = row[5].as<std::string>();if (!row[6].is_null())product.defaultPath = row[6].as<std::string>(); - edit in src/lib/Hydra/Plugin/RunCommand.pm at line 93
sha1hash => $product->sha1hash, - edit in src/lib/Hydra/Schema/BuildProducts.pm at line 62[10.2832]→[10.2010:2027](∅→∅),[10.4026]→[10.2010:2027](∅→∅),[10.2010]→[10.2010:2027](∅→∅),[10.2041]→[10.2041:2059](∅→∅),[10.2059]→[10.2833:2853](∅→∅)
is_nullable: 1=head2 sha1hashdata_type: 'text' - edit in src/lib/Hydra/Schema/BuildProducts.pm at line 97[10.2897]→[10.502:516](∅→∅),[10.3218]→[10.502:516](∅→∅),[10.4074]→[10.502:516](∅→∅),[10.502]→[10.502:516](∅→∅),[10.516]→[10.3219:3264](∅→∅)
"sha1hash",{ data_type => "text", is_nullable => 1 }, - replacement in src/lib/Hydra/Schema/BuildProducts.pm at line 139
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iI0gmKqQxiPBTy5QsM6tpQ# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-27 18:21:03# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O4R8b/GukNaUmmAErb3Jlw - edit in src/lib/Hydra/Schema/BuildProducts.pm at line 148
'sha1hash', - edit in src/root/product-list.tt at line 194
<tr><th>SHA-1 hash:</th><td><tt>[% product.sha1hash %]</tt></td></tr> - edit in src/sql/hydra.sql at line 333
sha1hash text, - file addition: upgrade-68.sql[83.3004]
alter table BuildProducts drop column sha1hash;