This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project iwhd.git.
The annotated tag, v0.91 has been created at 9300bdaa8b6a3c9474c815ce632a7588926b38e3 (tag) tagging 8f68e88ae81db999209f0cf16bba47bd9df9cd14 (commit) replaces v0.0 tagged by Jim Meyering on Thu Feb 10 14:56:52 2011 +0100
- Log ----------------------------------------------------------------- iwhd 0.91
Chris Lalancette (1): maint: add a comment: BuildRequires vs. mongodb-server
Jeff Darcy (96): Added docs. Clear locations when file changes at root. Clear locations when file changes at root. Added manual re-replication trigger. Added re-replication, changed original replication to use same code for Made query code reentrant and stuff. Allow users to fetch provider list. Added config fetch and credential update. Added template module. Added JSON templates. Added Host/Accept handling for templates. Converted object listing to use templates. Added bucket creation. Added real bucket listing, reworked request cleanup. Added back "fake buckets" (i.e. special REST-API stuff) in top-level list. Library fix from Jim. More fixes from Jim. Fixed a bunch of warnings... Fixed immediate-disconnection issue by adding a size_t cast for the MHD Major rework to make all of the producer/consumer stuff more modular. Jim's latest fixes (DPRINTF/realloc/strtok_r) merged by hand because I Merge branch 'merge' Lost mpipe.* in the last merge. First step of making back ends fully modular and interchangeable. Moved delete into backend module. Moved bucket-create into backend module, fixed a couple of other bugs I Moved back-end-specific init code into back-end module. Added low-level filesystem back end. Deleted old (higher level) local-filesystem interface. Replace assert (now undefined) with abort. Actually Jim's fix. Up-to-date API docs. EC2 experiments. Merge branch 'master' into ec2 Added serialization on MongoDB client. Test is to transfer 50 1MB files More EC2-registration changes, including back-end register method and Merge branch 'ec2' into ec2-2 Specify filesystem mode in config file instead of command line (needed for More AMI-registration plumbing. Added code to pass registration requests through one or more CURL/HTTP Teach replication module ("proxy.c") how to use a filesystem-backed primary Last bits to do AMI bundling/upload/registration entirely through the Set "ami-id" property after registration. Also fixed bug with fetching Take registration information from the request, if available. Fix some memory leaks in the new cert/key temp-file code. Added ami-bkt argument, fixed output-parsing bug. Added more detailed tracking of status via ami-id, switched result parsing More verbose output for debugging. Make the code buildable again after the last salvo. Changed previous API-change patch so that old and new bucket-creation First piece of link-following syntax. Still needs type clean-up. The long-promised type cleanup. Eval always returns 0 or 1. String_value More warning suppression, regenerated query.c.diff More changes suggested by Jim, made by me - const pointers, unsigned ints, Added _providers to API-root listing. Fixed bug in form-data handling, Add replication for bucket-create requests. Replace fprintf/perror calls with officially mandated error(). Fix string handling in proxy (replication) module. Require a "path" parameter for filesystem back ends. Merge branch 'master' of ssh://orcz/srv/git/iwhd Just use chdir instead of chroot+chdir, per email convo. Fix ms leaks when object not found, deleted. Fix leak when deleting nonexistent file. New version reflecting current reality/terminology/etc. Fix memory leak, uninit var, syntax Fix various issues in policy syntax. Enhance tests. More basic tests. tests: exercise attributes Add rep_count control operation on API root. Add replication tests. tests: run 2nd test's mongod on a different port for parallel make check Fix replication test when *not* running in parallel. Add op=parts API. Add comments to parsing/evaluation code. Fix BsonObject invalid-ref in attribute-listing code. Allow simple GETs without metadata access. Improve behavior in no-metadata-access cases. Fix a memory leak in object-attribute evaluation (found by Jim). Dynamic config, steps 1-3 Fix rollup which didn't include renamed/added files. New tests for autostart and "headless operation" Add link-following implementation (not just syntax). Unify backend/replica modules, support dynamic config. rewrite query parser using Bison, not peg/leg Add query.h comments back in. Undo accidental reversal of wait_for_repl return values. Fix two pipe-initialization races that occur in replication. Fix re-replication on attribute change. Sprintf/snprintf cleanup. Add X-redhat-role header when replicating to ourselves. Add unlink/O_EXCL in case new file is shorter than what's there. Fixed X-redhat-role check. Add test for re-replication when an attribute changes. Add test for truncation when overwriting an object. Change test-file names to be descriptive, avoid dups. don't segfault on a simple query
Jim Meyering (223): maint: remove declarations of unused local variables maint: enable some gcc compiler warnings remove trailing spaces maint: avoid warning about undeclared function maint: avoid warnings about printf format/type mismatch maint: avoid format mismatch warnings proxy.c: more %llu -> %zu maint: define macros used to teach compiler about semantics maint: avoid warnings about unused parameters maint: avoid warnings about implicitly declared functions maint: placate gcc promise gcc -W that we won't abuse strtok_r tmpl_get_ctx: return something avoid a "comparison between signed and unsigned..." warning promise gcc -W that we won't abuse strtok_r (rest.c, this time) maint: tweak DPRINTF definition don't dereference NULL upon OOM build: make "make distcheck" work configure.ac: remove obsolete comment configure.ac: avoid m4 under-quoting errors Makefile.am: use $(...) rather than @...@ query: avoid NULL-deref-on-OOM bugs build: new rules; run leg; apply patch to fix generated code build: make ./configure fail if "leg" is not available provide --help, --version, bug-reporting address; normalize no more -D... options on command line configure.ac: refer to a better URL for peg rename tool: repod->iwhd, header: repo.h->iwh.h require --config=FILE as a command line option correct a bug: add ":" after "f" in getopt option spec .gitignore: ignore a few more split inadvertently joined declarations; remove trailing spaces remove vestige of -f option more const-correctness changes more const-correctness; and remove an unused decl remove useless 'if'-tests-before-free build: drop -Wshadow(for now) and turn off -Wunused don't declare free'd variables/params to be const FS backend: print better diagnostics Add Copyright comments, and regenerate query.c.diff remove trailing blanks configure.ac (AC_INIT): Use iwhd as package name, not image-warehouse. build: boost support: don't depend on C++-mangled names build: m4-quote use of AC_LANG_PROGRAM to avoid warning from new autoconf More const changes. avoid printf format abuse; use -Wformat-security; report errno more maint: use new iwhd-devel address as bug-reporting addr hoist definition of cmd to remove one more hard-coded "dc-register-image" tests: add test framework and first test use calloc in place of malloc+memset-0 rest.c: plug a leak tests: specify "path", now that it's required don't deref NULL on fdopen failure; plug a FILE-sized leak tests: remove unnecessary "kill..." stmt, now it's done via trap tests: check for root xml and json tests: don't let ~/.curlrc settings perturb these tests don't end "error(..." diagnostic with "n" tests: exercise basic providers_ functionality don't leak json_strings on username/password update plug a nasty leak and 3 others like it tests: exercise object deletion remove unnecessary casts tests: add more maint: remove empty/unused ChangeLog file boiler-plate README files maint: adjust copyright on most files: Red Hat, not FSF declare file-scoped globals "static"; use const, too don't ignore write failures proxy.c: declare functions and file-scoped variables static don't ignore failed thread creation build: GNUmakefile: new file, for better output from "make check" fix bug just introduced in repl_worker tests: exercise the parser tests: remove vestigial VERBOSE=yes tests: factor out range of ports we'll use for mongod instances tests: remove seemingly unnecessary "sleep 3" query.c.diff: regenerate to avoid offsets template: const correctness tests: use -9 only when killing mongod, not iwhd tests: parser-test: don't ignore "compare" failure tests: add missing "Exit $fail" build: avoid warning about unused parameter avoid warning about signed/unsigned comparison init.sh: don't comment out cleanup-handling rm -rf replica: don't say we're "deleting" when creating a bucket fflush debugging output when writing to stdout tests: wait_for: report how long we waited, or that timeout expired tests: avoid using a temp file in wait_for_repl utility clean-up: move file-scoped global into "main" tests: don't clutter regular output with expected diagnostics remove query.leg and query.c.diff build: rearrange things to use Bison/Flex; adapt; clean up parse-test now passes apply jeffs leak-fixing patch from master (manually merge 3 failed hunks) apply Jeff's link-following change qparser.y: Include <ctype.h> for use of isdigit cast away "const" on free argument static and const use literals in bison avoid undefined-yydecl warning qlexer.l: simplify build: ensure we use only Flex lex && and || as tokens, not "&" and "|" add missing #define part of double-inclusion guard query.h: use struct value_t (same name as typedef) add beginnings of %union support pure, almost handle yylex_init failure qlexer.l: rewrite not to need static var, at_eof. now that lexer calls strdup, free those strings xrealloc was not used; #if-0 it out avoid NULL deref on failed strdup add iwhd.spec.in and Makefile rules automatically generate man page remove decls of unused variables mark unused parameters as such remove final "static" state variable from the parser mark more unused parameters simplify parser: T_NE simplify parser: T_EQ simplify parser: <, >, >=, <= query parser: avoid 25 reduce/reduce conflicts parser: handle OOM gracefully parser: remove dead code parser: move x*alloc functions into #if-unit-test block where used reduce scope of global to be file-only plug error path leak parser: plug more leaks add a reminder not to hard-code /tmp/iwtmp.XXXXXX s3_register: correct a diagnostic: s/key/secret/ _policy is a reserved object name; reject it, just like the others prohibit creation of a bucket with one of the reserved names convert reserved attribute names to have a leading underscore prefix GNUmakefile: replace leading spaces with TABs build: don't check for or use -lcrypto; it was not used avoid warnings from new/better microhttpd.h signature for... plug leaks-after-OOM-failure plug a leak fix trivial comment typo use strchr and strrchr, not index or rindex tests: wait for up to 5 seconds for start-up, not just 3s Use gnulib maint: enable no-trailing blanks prohibition maint: remove unused #include directives spotted by "make syntax-check" enable m4 quoting check enable "echo -n/-e" prohibition enable "test -a/-o" prohibition enable no-blank-lines-at-EOF rule use first gnulib module: progname use gnulib's closeout module remove GNUmakefile -- now it is pulled from gnulib disable sc_cast_of_argument_to_free check avoid redundant const -- move it to the right of "*" skip the malloca-tests module; too slow bootstrap.conf: mention bison clean-up: don't define xmalloc, xstrdup, etc. -- use gnulib's definitions build: support configure-time --enable-gcc-warnings option do not perform arithmetic on void* pointers maint: remove unused definitions maint: declare cf_put_child to be static maint: declare follow_link in replica.h maint: accommodate new, stricter warnings maint: avoid theoretical risk of signed overflow maint: avoid warning about "noreturn" function maint: avoid const-related warnings maint: make autogen.sh invoke bootstrap build: make the "rpm" rule work once again build: iwhd "Requires" mongodb-server (rather than BuildRequires) revert "build: iwhd "Requires" mongodb-server (rather than BuildRequires)" maint: update copyright year ranges to include 2011 build: update gnulib submodule to latest maint: update files copied from gnulib build: update gnulib submodule to latest tests: reenable excluded gnulib test; run gnulib-tests first build: update gnulib submodule to latest fix an unchecked strdup allow dynamic addition/deletion of providers don't use xstrndup via base_name add provider ref-counting; FIXME: partial impl. (i.e., no incr) reject an attempt to add a provider with "name" parameter use new function, get_main_provider, rather than global "main_prov" tests: clean up provider-deletion test get primary provider name via http://host:$port/_providers/_primary new interface: curl -X PUT http://_providers/PROVIDER/_set_primary rename s/_set_primary/_primary/: more RESTful maint: rename file-scoped global s/main_prov/g_main_prov/, and... use garbage collection garbage-collection fix-up remove functions and struct members that are no longer needed tests: add dynamic-provider test guard provider-addition with a mutex; tighten provider test do not allow "updating" a provider in place -- now, you must remove and then re-add remove more tests of in-place provider changing begin converting hash tables from glib to gnulib convert remaining g_hash_table_lookup functions to kv_hash_lookup convert all remaining uses of g_hash_* functions insinuate GC into gnulib's hash-related code tell GC about the thread spawned by MHD_start_daemon t/provider: warn-then-sleep on failure -- eases debugging avoid a leak via ms->post = MHD_create_post_processor(... handle hash_initialize and MHD_create_post_processor failure avoid unnecessary MHD_lookup_connection_value calls rewrite provider-listing code so we can protect it with a mutex: also mutex-protect the provider-iterator used in listing microhttpd may also spawn threads to call prov_list_generator; tell GC tests: prepare for improved provider checks in t/provider sort provider list on "name" list providers: avoid syntax error in JSON output tests: also check JSON provider lists remove gnulib hash.c diff hack plug a potential leak build: make configure fail if gc-devel (aka libgc-dev) is not installed use SMALL_PRIME in place of literal 13 (initial hash table size) use symbolic names in place of more hard-coded constants remove dead code protect remaining uses of prov_hash against concurrent access don't pass NULL buffer to formatter in provider list generation tests: reenable excluded gnulib test; run gnulib-tests first maint: build via make CFLAGS='-DGNULIB_POSIXCHECK=1'; address warnings maint: speed up configure doc: add to NEWS maint: record previous release tag name version 0.91
Pete Zaitcev (12): cure a hang on S3 error Implement documented API for _new Cleanups [patch repod] add autostart of Mongo switch to atexit(auto_stop) add static to parse_config_inner Lock auto.c to IPv4 Bump testing timeouts exit if mkdir fails error to stderr switch to using installed ec2 tools avoid hang when creating an object in non-existing bucket
root (1): Added replication-complete check, tweaked metadata-DB-update code.
-----------------------------------------------------------------------
repo.or.cz automatic notification. Contact project admin jim@meyering.net if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.
iwhd-commit@lists.fedorahosted.org