{"push_id":2662423991,"size":52,"distinct_size":52,"ref":"refs/heads/master","head":"bd5f7f2ef304fed20ae5321770a8a718f9a0f9a8","before":"1b06b33dd0119fdae00fcc59f530200f6bdb0195","commits":[{"sha":"1ed21c80ed3683c17708caad3d545da4d8e09b02","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/path: new implementation\n\nThe goal is to avoid duplicate code in path.c and sysfs.c and make it\npossible to define prefix for paths for all sysfs and procfs based\nutils. Now we have /proc snapshots (for tests) for lscpu only. It\nwould be nice to have the same (for sysfs) for lsblk and another tools.\n\n* very simple API to read numbers, strings and symlinks\n\n* based on openat()\n\n     pc = ul_new_path(\"/sys/block/sda\");\n     ul_path_read_u64(pc, &size, \"size\");\n     ul_path_read_u64(pc, &lsz, \"queue/logical_block_size\");\n\n* printf-like API to generate paths, for example:\n\n     ul_path_readf_u64(pc, &num, \"sda%d/size\", partno)\n\n* allow to define prefix to redirect hardcoded paths to another\n  location, for example:\n\n     pc = ul_new_path(\"/sys/block/sda\");\n     ul_path_set_prefix(pc, \"/my/regression/dump\");\n     ul_path_read_u64(pc, &num, \"size\");\n\n  to read /my/regression/dump/sys/block/sda/size\n\n* allow to extend the API by \"dialects\", for example for sysfs:\n\n     pc = ul_new_path(NULL);\n     sysfs_blkdev_init_path(pc, devno, NULL);\n\n  and use ul_path_* functions to read from @pc initialized by\n  sysfs_blkdev_init_path()\n\n* add test_path binary\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/1ed21c80ed3683c17708caad3d545da4d8e09b02"},{"sha":"5387c01517fef32144a17a52e284f8c97d773847","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/sysfs: new implementation\n\n* reuse ul_path_* API\n\n* allow to use prefix for sysfs paths, so we can use snapshots from\n  sysfs for regression tests\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/5387c01517fef32144a17a52e284f8c97d773847"},{"sha":"83029ea577fc9a9f9393a579183baa70c23e9dd8","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/sysfs: add ul_new_sysfs_path() shortcut\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/83029ea577fc9a9f9393a579183baa70c23e9dd8"},{"sha":"7604f85fb649a271ca57687d009cd3c02e5dc4ea","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/loopdev: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/7604f85fb649a271ca57687d009cd3c02e5dc4ea"},{"sha":"2569d2ca1f3f72127b40676884ce7c3dc351fe22","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/loopdev: remove obsolete macro\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/2569d2ca1f3f72127b40676884ce7c3dc351fe22"},{"sha":"bcf445fd688692fd4cbfde03cda60be4281ac28b","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/path lib/sysfs: add debug\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/bcf445fd688692fd4cbfde03cda60be4281ac28b"},{"sha":"d5878cabe6e9df5a9dacbbd637f53784d0b19928","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/path: fix read string to be backwardly compatible\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/d5878cabe6e9df5a9dacbbd637f53784d0b19928"},{"sha":"866ac74f972063474dc26dfd1c58a145d7ac61a9","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/sysfs: make possible to call sysfs_blkdev_deinit_path() in loop\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/866ac74f972063474dc26dfd1c58a145d7ac61a9"},{"sha":"8c3d9cad1ecb3c4ba78604ea4416620f6a6566ab","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/sysfs: add sysfs_blkdev_get_parent()\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/8c3d9cad1ecb3c4ba78604ea4416620f6a6566ab"},{"sha":"708a58b665a2157c4d6f9057246a1531ae3ae33a","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"libblkid: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/708a58b665a2157c4d6f9057246a1531ae3ae33a"},{"sha":"efb17218effa8f806f66d65db12f84addfc208d1","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"libfdisk: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/efb17218effa8f806f66d65db12f84addfc208d1"},{"sha":"3aa4775c2f5f0ae3e72e42d924d080843208e0cb","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/sysfs: fix ul_path_read_string() usage\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/3aa4775c2f5f0ae3e72e42d924d080843208e0cb"},{"sha":"a6f0da166e58ba279094b483eedf5126a6850029","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"zramctl: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/a6f0da166e58ba279094b483eedf5126a6850029"},{"sha":"e74e5401e11dde927042fa00a6db02d0381e0e0c","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/path: add ul_path_get_abspath()\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/e74e5401e11dde927042fa00a6db02d0381e0e0c"},{"sha":"7eb8e47bcd9979689b00625df6e7a20a2b9e2d41","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/path: add ul_path_read_buffer()\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/7eb8e47bcd9979689b00625df6e7a20a2b9e2d41"},{"sha":"e4319a105b019f90afd56fb38a621df00002b2d6","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lsmem: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/e4319a105b019f90afd56fb38a621df00002b2d6"},{"sha":"8ca312798ca44c9fb39967e6b8a5afc2fcf83242","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"chmem: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/8ca312798ca44c9fb39967e6b8a5afc2fcf83242"},{"sha":"f99148d6f5a6f7b779675060ac2bf7a8570a3726","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"rfkill: don't use lib/path\n\nIt seems like crazy overkill for this trivial purpose.\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/f99148d6f5a6f7b779675060ac2bf7a8570a3726"},{"sha":"fcc4517cfd788b3743b6c0145a0395e9a6f8b1b5","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"lib/path: make ul_path_read_ usable with NULL handler\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/fcc4517cfd788b3743b6c0145a0395e9a6f8b1b5"},{"sha":"9ce2fef0d7fb74ba4d3ebb808d2954f9727bac71","author":{"name":"Karel Zak","email":"b517c2d99ca3f904174ad92ae4446c78e81c3cf1@redhat.com"},"message":"ctrlaltdel: use new ul_path_* API\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/karelzak/util-linux/commits/9ce2fef0d7fb74ba4d3ebb808d2954f9727bac71"}]}
{"actor":{"display_login":"karelzak"}}