{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d1588981e0248aaa0174906c99df180e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d1588981e0248aaa0174906c99df180e","url":"https://api.github.com/users/petdance","login":"petdance","id":41100},"assignee":null,"updated_at":"2011-11-01T05:41:01Z","labels":[{"name":"core","color":"B3676F","url":"https://api.github.com/repos/petdance/scratch/labels/core"},{"name":"Pri-normal","color":"02600F","url":"https://api.github.com/repos/petdance/scratch/labels/Pri-normal"},{"name":"Sev-medium","color":"2F47CA","url":"https://api.github.com/repos/petdance/scratch/labels/Sev-medium"},{"name":"todo","color":"CE297C","url":"https://api.github.com/repos/petdance/scratch/labels/todo"}],"comments":0,"closed_at":null,"url":"https://api.github.com/repos/petdance/scratch/issues/23","body":"With r36890 I've enabled UUID stamping of pbc's for the t/native_pbc/ tests. tools/dev/pbc_header.pl --upd works now again.\nIn order to enable UUID's (uuid_type=1) for all PBC's I plan the following:\r\n\r\n  - read the UUID, the md5 fingerprint of PBC_COMPAT with Parrot::BuildUtils::generate_pbc_fingerprint() at Configure.pl\r\n\r\n  - uuid_size = 12, so that the new padding in the header will be 2 instead of 14 and the header size before the directory stay the same.\r\n\r\n  - store the pbc_fingerprint as PBC_UUID in config.h for packfile.c\r\n\r\n  - write every pbc with this UUID\r\n\r\n  - check the UUID when reading pbc's and warn \r\n    when reading incompatible PBC's, different UUID's.\r\n\r\n  - error on reading newer bytecode versions, \r\n    allow reading older versions. That was the original \r\n    intention at least.\r\n \r\n\r\n\r\nOriginally http://trac.parrot.org/parrot/ticket/359","html_url":"https://github.com/petdance/scratch/issues/23","title":"enable UUID for pbc","number":23,"id":2107106,"created_at":"2011-11-01T05:41:01Z"},"action":"opened"}