GitHub PushEvent at 2014-09-21 15:56:03
Repository: bup
Actor: pfrouleau
Payload: {"shas":[["54cacc1cfb7437f2c099e24b7d6e87d1c9422e13","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","HACKING: update to reflect 0.25 release.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["449d0097b35c6e516809bfa6452465089aa19038","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Require utimensat or utimes/lutimes.\n\nThis was already true (tests would fail), so make it explicit, and if\nwe do encounter any platforms where none of these functions are\navailable, we can worry about it then.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["19970cd8edb9762b3e6a83ed77637cdda700f96d","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Stop testing negative timestamps -- they're not necessarily valid.\n\nBoth timevals and timespecs use a time_t for the seconds which POSIX\nrequires to be an \"integer or real-floating type\", so unsigned integer\ntypes are perfectly valid.  (See FUSE for example -- though it's not\neven using a time_t; at the moment it's just using uint64_t...).\n\nThanks to Tim Riemenschneider <t.riemenschneider@detco.de> for\nreporting the problem.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["a710bbf5b61d33620ae0a49a9d2b5f156f3294be","4f8f608ac4aafcbe4fab8dcee1e9c609f99d9332@giga.or.at","Add index option \"--exclude-rx-from FILE\".\n\nSigned-off-by: Thomas Klausner <tk@giga.or.at>\n[rlb@defaultvalue.org: adjust commit message; change \"path\" to\n \"pattern\" in bup-index.md description; adjust bup-index.md text;\n adjust optspec text.]\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Thomas Klausner",false],["746ab405c9df0ae30e723dde166568de89a42b22","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move the --exclude-rx tests from test.sh to test-save-restore-exclude-rx.sh.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["e042bbe356214a2177f388a0c65520dc0ecbe32e","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Add simple test for \"index --exclude-rx-from FILE\".\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["b9ee2e2664cf981d91e3490e57e5cd988aa9f343","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Add restore option \"--exclude-rx-from FILE\".\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["5dfc5f8eb00873664d0a76e8680d77097e1a7cf3","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Don't fail tests when the timestamp read resolution is higher than write.\n\nPreviously, if bup was able to read path timestamps at a higher\nresolution than it could write them, tests would fail.  This situation\ncan occur (for example) when the stat() resolution is 1ns, but either\nthe underlying filesystem's isn't, or bup wasn't able to find\nutimensat at build time.\n\nTo fix this, compute the maximum resolution of the test filesystem\n(via \"t/ns-timestamp-resolutions HERE\"), and then limit the \"bup\nxstat\" timestamp resolution in the tests to match via a new\n--mtime-resolution argument.\n\nFor completeness, also add --atime-resolution and --ctime-resolution\narguments.\n\nThanks to Tim Riemenschneider <t.riemenschneider@detco.de> for\nreporting the problem.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["9ce545703dda3c888081c504863308902ce8c56b","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Always publish utimensat in helpers when available and fix type conversions.\n\nPreviously, bup assumed a timespec was (long, long), which agrees with\nglibc.info, but utimensat(2) and POSIX say it's (time_t, long).\n\nSince the types vary (and even if they didn't, Python doesn't provide\nsafe \"time_t\" conversions), add ASSIGN_PYLONG_TO_INTEGRAL(), which\nshould handle safely assigning a PyLong value to any given C integral\ndestination, whenever it will fit -- then use that macro to handle the\nutimensat arguments.\n\nWhenever it's available, publish utimensat independently in helpers.\nFor now, this allows us to test utimensat directly, and in the future,\nit may allow us to test bup's behavior with either utimensat or\nutimes/lutimes without recompilation, whenever both are available.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["be300ec31e640b35a19d8ccb6b43dd3471054354","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Add -n, -A, -F, --file-type, --numeric-ids and detailed -l to \"bup ls\".\n\nWith the addition of -A, change -a to behave more conventionally,\ni.e. to show \".\" and \"..\".\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>\nTested-by: Alexander Barton <alex@barton.de>\nReviewed-By: Zoran Zaric <zz@zoranzaric.de>\n[rlb@defaultvalue.org: fall back to n.mode when n.metadata() isn't\n available in node_info() so that CommitDirs (\"ls -AF /\"), etc. will\n still work; thanks to Gabriel Filion <gabster@lelutin.ca> for the\n report; fix the rdiff-backup test to use -A.]\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["89d566d25553b0256844bdacd494d7f27f0d45e3","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Remove vestigial and inappropriate isnan()/isinf() timestamp tests.\n\nI'm fairly sure this is an historical accident, but regardless, remove\nthe (my) obviously inappropriate floating point tests on integer\nvalues from bup_parse_xutime_args().  Nothing to see here -- move\nalong.\n\nI've broken this change out from a larger post-0.25 patch, where I'd\nalready fixed it, so that it'll be easy to pull into stable if we\nlike.\n\nThanks to Ed Maste <carpeddiem@gmail.com> for reporting the problem\n(which prompted me to go ahead and create the separate fix).\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["f48cb8e82fe8a95706aa44ea7c64a0955f342328","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Always publish (l)utimes in helpers when available and fix type conversions.\n\nPreviously, bup assumed a timeval was (long, long), which agrees with\nglibc.info and (Linux) utimes(2), but POSIX says it's (time_t,\nsuseconds_t).\n\nSince the types vary (and even if they didn't, Python doesn't provide\nsafe \"time_t\" conversions), handle the type conversions more\ngenerically, via ASSIGN_PYLONG_TO_INTEGRAL() and\nINTEGRAL_ASSIGNMENT_FITS().\n\nOptimistically assume the latter is sufficient for tv_usec (where we\nconvert it to a long long) because POSIX guarantees that tv_usec will\nbe a signed integral.\n\nWhenever available, publish utimes and lutimes independently in\nhelpers, and run the relevant t/txstat.py tests.  So now, we'll be\nrunning at least some tests on utimensat, lutimes, and utimes whenever\nthey're available.\n\nA more significant improvement would be to run some broader bup tests\ntwice, once with utimensat and once with utimes/lutimes, whenever both\nare available.\n\ncf. 9ce545703dda3c888081c504863308902ce8c56b\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["aa653fc56bcad1fc5173451e334664f542e57ae4","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Remove ancient lib/tornado in favor of an external dependency.\n\nOur lib/tornado dates from over three years ago -- drop it in favor of\nan external dependency, and update the install instructions\naccordingly.\n\nAnyone trying to run \"bup web\" without tornado installed will see\nthis:\n\n  error: cannot find the python \"tornado\" module; please install it\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["85982e45546486479d09d0409d0c70b7b73a1013","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Don't require non-negative timespec ns; fix stat timestamp conversions.\n\nPreviously we required that the system timespec tv_nsec values be\nnon-negative -- stop that.  POSIX doesn't specify, and there's no real\nneed for us to care, since all significant timestamp manipulations are\nnow handled as integer nanosecond values, not (sec, ns) pairs.\n\nChange stat_struct_to_py() (used by bup_stat()/bup_lstat()) to use\nINTEGER_TO_PY() to convert the timestamp st_atime/st_mtime/st_ctime\nvalues so that we don't have to care about the sign/size of the\nunderlying type (which should be time_t).\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["8715edf70313bd37eeae5c89ec9184d8e2744cdb","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move save --strip/--graft tests from test.sh to test-save-strip-graft.sh.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["5a2ea6e7a43e1866e865b932ea4f954151295db6","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move import-rdiff-backup tests from test.sh to test-import-rdiff-backup.sh.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["60eda087b053941eaf0e86bee9f6994597c434df","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move compression tests from test.sh to test-compression.sh.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["e66aab1c9f327875f94339f18a662a51745f0128","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move test.sh exclude tests to renamed test-save-restore-excludes.sh.\n\nRename test-save-restore-exclude-rx.sh to\ntest-save-restore-excludes.sh, and move test.sh exclude tests there.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["3407ae75fc1492c331d1d7f2ffa0a9676c16a6a9","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move clear-index tests from test.sh to test-index-clear.sh.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false],["fa84523b57865a1c4eda1d6bf281a04364cd49db","1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org","Move the main fsck tests from test.sh to test-fsck.sh.\n\nSigned-off-by: Rob Browning <rlb@defaultvalue.org>","Rob Browning",false]],"size":130,"ref":"refs/heads/wip/force_minimum_blob_size","head":"5f1b36510e902995269b1fbf152174cb0ef42d96"}