ostree/src/ostree
Colin Walters 305db981d4 Add Coccinelle usage: one for blacklisting, one for patch collection
This is inspired by the [Coccinelle](http://coccinelle.lip6.fr/) usage
in systemd.  I also took it a bit further and added infrastructure
to have spatches which should never apply.  This acts as a blacklist.

The reason to do the latter is that coccinelle is *way* more powerful than the
regular expresssions we have in `make syntax-check`.

I started with blacklisting `g_error_free()` directly. The reason that's bad is
it leaves a dangling pointer.

Closes: #754
Approved by: jlebon
2017-03-30 19:19:54 +00:00
..
main.c Add Coccinelle usage: one for blacklisting, one for patch collection 2017-03-30 19:19:54 +00:00
ostree-trivial-httpd.c tree-wide: Squash noncritical compiler warnings 2017-02-24 17:08:27 +00:00
ot-admin-builtin-cleanup.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-deploy.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-diff.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-init-fs.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-instutil.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-os-init.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-set-origin.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-status.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-switch.c admin-switch: Don't segfault if there's no remote 2017-02-13 20:32:07 +00:00
ot-admin-builtin-undeploy.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-builtin-unlock.c unlock: Fix description for --hotfix 2017-01-16 18:45:08 +00:00
ot-admin-builtin-upgrade.c upgrade: Add support for --pull-only and --deploy-only 2017-02-27 20:57:23 +00:00
ot-admin-builtins.h admin: Add an `unlock` command, and libostree API 2016-03-23 11:09:09 -04:00
ot-admin-functions.c admin: Use execlp() to look for systemctl as the shell would 2016-12-23 12:18:27 +00:00
ot-admin-functions.h Use GSubprocess instead of GSSubprocess (libgsystem removal) 2016-03-23 10:26:01 -04:00
ot-admin-instutil-builtin-grub2-generate.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-instutil-builtin-selinux-ensure-labeled.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-instutil-builtin-set-kargs.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-admin-instutil-builtins.h syntax-check: Remove empty lines at the end of file 2015-02-02 15:07:56 +01:00
ot-builtin-admin.c tree-wide: Squash noncritical compiler warnings 2017-02-24 17:08:27 +00:00
ot-builtin-cat.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-checkout.c checkout: Support a "pure addition" mode 2017-03-06 20:58:04 +00:00
ot-builtin-checksum.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-commit.c commit: Add --canonical-permissions argument 2017-03-27 13:48:41 +00:00
ot-builtin-config.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-diff.c diff: Add ostree_diff_dirs_with_options(), expose via cmdline 2017-03-21 13:38:04 +00:00
ot-builtin-export.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-fsck.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-gpg-sign.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-init.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-log.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-ls.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-prune.c Add support for more selective pruning 2017-01-19 16:28:00 +00:00
ot-builtin-pull-local.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-pull.c ostree: allow setting update frequency from command line 2017-03-08 20:28:27 +00:00
ot-builtin-refs.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-remote.c tree-wide: Squash noncritical compiler warnings 2017-02-24 17:08:27 +00:00
ot-builtin-reset.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-rev-parse.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-show.c builtin/show: Convert to direct return/decl-after-stmt style 2017-03-13 15:03:25 +00:00
ot-builtin-static-delta.c deltas: Expose the filename parameter 2017-02-27 22:10:26 +00:00
ot-builtin-summary.c tree-wide: Switch to autoptr for GOptionContext 2016-12-08 16:48:20 +00:00
ot-builtin-trivial-httpd.c Split trivial-httpd into separate binary 2017-01-04 16:32:11 +00:00
ot-builtins.h Add an `export` builtin, and API to write to libarchive 2016-02-14 09:53:01 -05:00
ot-dump.c core: Use OSTREE_SHA256_STRING_LEN instead of 64 2016-06-22 16:10:01 +00:00
ot-dump.h remote: Add "ostree remote summary" command 2015-12-17 15:49:51 -05:00
ot-editor.c Final excision of libgsystem dependency 2016-08-09 15:36:09 +00:00
ot-editor.h ostree: Support for using EDITOR to fill commit subject/body 2013-08-29 21:08:32 +02:00
ot-main.c Add Coccinelle usage: one for blacklisting, one for patch collection 2017-03-30 19:19:54 +00:00
ot-main.h Build on older versions of glib 2016-05-25 14:01:39 +00:00
ot-remote-builtin-add-cookie.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-add.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-delete-cookie.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-delete.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-gpg-import.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-list-cookies.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-list.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-refs.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-show-url.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtin-summary.c build: Expose autocleanups unconditionally, start using them 2017-03-28 20:19:15 +00:00
ot-remote-builtins.h build: Make libsoup optional again 2016-12-08 16:04:16 +00:00
ot-remote-cookie-util.c libcurl backend 2017-02-09 16:37:45 +00:00
ot-remote-cookie-util.h libcurl backend 2017-02-09 16:37:45 +00:00
parse-datetime.h parse-datetime: use the module from gnulib 2015-12-04 11:10:46 -05:00
parse-datetime.y parse-datetime: Use labs() for long input value 2016-10-27 17:02:01 +00:00