{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":1500968,"defaultBranch":"master","name":"libusb","ownerLogin":"larskanis","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-03-19T19:45:30.000Z","ownerAvatar":"https://github.com/avatars/u/176234?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1713606801.0","currentOid":""},"activityList":{"items":[{"before":"4dd3ccbba5e383d154a356465d5b5b6fe5e8fcb0","after":"2f78c3245776542340df07db9165bb1fc5f66398","ref":"refs/heads/master","pushedAt":"2024-04-21T16:06:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Disable linux binary gems\n\nSince they aren't distributed for now.","shortMessageHtmlLink":"CI: Disable linux binary gems"}},{"before":"c7df122853fd7c976408421bf3b158898e524471","after":"4dd3ccbba5e383d154a356465d5b5b6fe5e8fcb0","ref":"refs/heads/master","pushedAt":"2024-04-20T09:53:19.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Add release notes for libusb-0.7.1","shortMessageHtmlLink":"Add release notes for libusb-0.7.1"}},{"before":"9617c683b4e97b787880c8118befb894386f09f5","after":"c7df122853fd7c976408421bf3b158898e524471","ref":"refs/heads/master","pushedAt":"2024-04-20T09:46:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Disable linux fat binary builds\n\nThere is the issue, that linux binary builds depend on libudev to be installed on the target system and not all distributions provide it.\nThe solution would be to static link the fat binary libusb to libudev, but libudev is part of systemd and that needs meson and ninja in very recent versions, making it hard to buill in the RCD environment.\nSo for now linux binary gems are not distributed.","shortMessageHtmlLink":"Disable linux fat binary builds"}},{"before":"8bd6507ebc411f79dcb3e80b7732dbb172513a04","after":"9617c683b4e97b787880c8118befb894386f09f5","ref":"refs/heads/master","pushedAt":"2024-04-20T09:25:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Fix unreferencing LIBUSB::Context from Call::Transfer\n\nThe unref Context was sent to the wrong object.\nThis prevented freeing of Context objects, as soon as a transfer was executed.","shortMessageHtmlLink":"Fix unreferencing LIBUSB::Context from Call::Transfer"}},{"before":"4f90751edbfd07418ef7e0f76d223a6cc04db38d","after":"8bd6507ebc411f79dcb3e80b7732dbb172513a04","ref":"refs/heads/master","pushedAt":"2024-04-18T19:54:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Update gem_helper to latest rubygems\n\nhttps://github.com/rubygems/rubygems/blob/7f3bf6c08c379aacd95d18d8af6a1a02fefc85a2/bundler/lib/bundler/gem_helper.rb#L184","shortMessageHtmlLink":"Update gem_helper to latest rubygems"}},{"before":"122d98566aa12563004874bbf65ceab19ff83667","after":"4f90751edbfd07418ef7e0f76d223a6cc04db38d","ref":"refs/heads/master","pushedAt":"2024-04-18T11:51:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Run \"rake test\" with libusb from the project directory\n\nIn contrast to \"rake ci\" where the gem libusb must be installed.","shortMessageHtmlLink":"Run \"rake test\" with libusb from the project directory"}},{"before":"6bd542b5b01a56bbd7e6b29a4cb80711d5b00d93","after":"122d98566aa12563004874bbf65ceab19ff83667","ref":"refs/heads/master","pushedAt":"2024-04-18T11:38:23.000Z","pushType":"push","commitsCount":15,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Fix sporadic test failure\n\nProperly initialize the logging to avoid the error output:\n libusb: error [usbi_get_context] API misuse! Using non-default context as implicit default.","shortMessageHtmlLink":"Fix sporadic test failure"}},{"before":"1d03c3c3c625022d0b174ec48686c576e64f7331","after":"3415f06c558ba575a7b51bd704b1a1fca2ed6d61","ref":"refs/heads/unify-context-ref","pushedAt":"2024-04-18T10:55:43.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Also register LIBUSB::Call::Transfer at the LIBUSB::Context\n\n.. as soon as a device handle is assigned to make sure, that libusb_free_transfer is called before libusb_exit.\nThe transfer is originally not bound to a context, but when it was used to send a packet, it references the device in use until libusb_free_transfer is called.\n\nThis avoids warnings about still referenced devices kind of:\n libusb: warning [libusb_exit] device . still referenced","shortMessageHtmlLink":"Also register LIBUSB::Call::Transfer at the LIBUSB::Context"}},{"before":null,"after":"1d03c3c3c625022d0b174ec48686c576e64f7331","ref":"refs/heads/unify-context-ref","pushedAt":"2024-04-15T13:32:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Do not exit Context manuelly\n\nsince that raises warnings by libusb that there are remaining references.","shortMessageHtmlLink":"Do not exit Context manuelly"}},{"before":"0dc9b61741d4552c48f5cc84d883321a6b78d783","after":"6bd542b5b01a56bbd7e6b29a4cb80711d5b00d93","ref":"refs/heads/master","pushedAt":"2024-04-13T20:48:28.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Use unpack1 where possible","shortMessageHtmlLink":"Use unpack1 where possible"}},{"before":"08c0915e0de71d8d54b023060f031817b7a3c539","after":null,"ref":"refs/heads/add-platform-desc","pushedAt":"2024-04-13T17:10:09.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"}},{"before":"59e79c1f6e9ebf75b8e38a14f4b35f563bab4576","after":"0dc9b61741d4552c48f5cc84d883321a6b78d783","ref":"refs/heads/master","pushedAt":"2024-04-13T17:10:06.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Merge pull request #49 from larskanis/add-platform-desc\n\nAdd BOS platform descriptor new in libusb-1.0.27","shortMessageHtmlLink":"Merge pull request #49 from larskanis/add-platform-desc"}},{"before":null,"after":"08c0915e0de71d8d54b023060f031817b7a3c539","ref":"refs/heads/add-platform-desc","pushedAt":"2024-04-13T16:38:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Add BOS platform descriptor new in libusb-1.0.27\n\nThis is the only one of the new USB-3.2 BOS descriptors that libusb supports natively.\n\nAs an extension to libusb-1-0.27 this patch adds at least the enums for all USB-3.2-V1.1 spec, not just the BT_PLATFORM_DESCRIPTOR.","shortMessageHtmlLink":"Add BOS platform descriptor new in libusb-1.0.27"}},{"before":"718b114a01db623c91a347aa4cb12f5bea866448","after":null,"ref":"refs/heads/ref-context","pushedAt":"2024-04-13T12:13:34.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"}},{"before":"05855404673f807a22d499117ea9810448de37f0","after":"59e79c1f6e9ebf75b8e38a14f4b35f563bab4576","ref":"refs/heads/master","pushedAt":"2024-04-13T12:13:30.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Merge pull request #47 from larskanis/ref-context\n\nAdd reference counter for LIBUSB::Context usage","shortMessageHtmlLink":"Merge pull request #47 from larskanis/ref-context"}},{"before":"c781b39201cdee84f781db12195e452b82e8a3cf","after":"718b114a01db623c91a347aa4cb12f5bea866448","ref":"refs/heads/ref-context","pushedAt":"2024-04-13T11:35:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Add reference counter for LIBUSB::Context usage\n\nThe reference counter is increased on every object that is bound to a libusb context.\nIf the context is freed before any object that is bound to a context, then the call to `libusb_exit` is postponed to the last unreferening object.\nThat avoids segfaults caused by logging through the context when other objects are freed.\n\nThis patch changes several objects from FFI::ManagedStruct to FFI::Struct with manual definition of a finalizer.\nThis is because we can not easily pass a ctx pointer to the ManagedStruct release method.\n\nThe Call::Transfer is independent from the context and doesn't need the reference counting.\n\nFixes #46","shortMessageHtmlLink":"Add reference counter for LIBUSB::Context usage"}},{"before":"94e74348c49c33add0d4da2efe527874ba5686b5","after":"c781b39201cdee84f781db12195e452b82e8a3cf","ref":"refs/heads/ref-context","pushedAt":"2024-04-13T09:09:10.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Add reference counter for LIBUSB::Context usage\n\nThe reference counter is increased on every object that is bound to a libusb context.\nIf the context is freed before any object that is bound to a context, that the call to `libusb_exit` is postponed to the last unreferening object.\n\nThis changes several objects from FFI::ManagedStruct to FFI::Struct with manual definition of a finalizer.\nThis is since we can not easily pass a ctx pointer to the ManagedStruct release method.\n\nThe Call::Transfer is independent from the context and doesn't need the reference counting.\n\nFixes #46","shortMessageHtmlLink":"Add reference counter for LIBUSB::Context usage"}},{"before":"1630f739ca12848944b67242f380edca7e723846","after":"05855404673f807a22d499117ea9810448de37f0","ref":"refs/heads/master","pushedAt":"2024-04-13T09:01:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Fix struct member size in Bos::SsUsbDeviceCapability\n\nThe bmAttributes member is defined as uint8_t not uint32_t.\n\nFixes #48","shortMessageHtmlLink":"Fix struct member size in Bos::SsUsbDeviceCapability"}},{"before":null,"after":"94e74348c49c33add0d4da2efe527874ba5686b5","ref":"refs/heads/ref-context","pushedAt":"2024-04-12T19:59:16.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Add reference counter for LIBUSB::Context usage\n\nThe reference counter is increased on every object that is bound to a libusb context.\nIf the context is freed before any object that is bound to a context, that the call to `libusb_exit` is postponed to the last unreferening object.\n\nThis changes several objects from FFI::ManagedStruct to FFI::Struct with manual definition of a finalizer.\nThis is since we can not easily pass a ctx pointer to the ManagedStruct release method.\n\nFixes #46","shortMessageHtmlLink":"Add reference counter for LIBUSB::Context usage"}},{"before":"4c5177d35e8ef4be13e19de52dda07510ee4279a","after":"1630f739ca12848944b67242f380edca7e723846","ref":"refs/heads/master","pushedAt":"2024-04-12T17:19:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Remove unused accessor","shortMessageHtmlLink":"Remove unused accessor"}},{"before":"68811eac118a2c74e83c9567e1ff1324491682a8","after":null,"ref":"refs/heads/endisable-libusb","pushedAt":"2024-04-12T17:18:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"}},{"before":"42feb6fa44ba581c1b0b6990b7e9be0a07e2e8ca","after":"4c5177d35e8ef4be13e19de52dda07510ee4279a","ref":"refs/heads/master","pushedAt":"2024-04-12T17:18:34.000Z","pushType":"pr_merge","commitsCount":8,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Merge pull request #44 from larskanis/endisable-libusb\n\nCI: Add an extra run with and without system libusb","shortMessageHtmlLink":"Merge pull request #44 from larskanis/endisable-libusb"}},{"before":"7519cef7f0f84c59c9611ab34ce35560077bf25e","after":"68811eac118a2c74e83c9567e1ff1324491682a8","ref":"refs/heads/endisable-libusb","pushedAt":"2024-04-12T16:49:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Use ruby-3.0 to avoid bundler/rubygems version mismatch","shortMessageHtmlLink":"CI: Use ruby-3.0 to avoid bundler/rubygems version mismatch"}},{"before":"188721c5bc8127c3b14d66d5a04365d92ef8d503","after":"7519cef7f0f84c59c9611ab34ce35560077bf25e","ref":"refs/heads/endisable-libusb","pushedAt":"2024-04-12T16:35:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Disable JRuby on Windows with inline build of libusb\n\nIt fails due to a bug in mini_portile2 / JRuby:\n\n```\nRunning 'configure' for libusb 1.0.27... ERROR. Please review logs to see what happened:\n----- contents of 'D:/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ext/tmp/x86_64-w64-mingw32/ports/libusb/1.0.27/configure.log' -----\nconfigure: error: unrecognized option: `--prefix\\=D:/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ports/x86_64-w64-mingw32/libusb/1.0.27'\nTry `./configure --help' for more information\n```","shortMessageHtmlLink":"Disable JRuby on Windows with inline build of libusb"}},{"before":"08ad0a3ebf3da7fde30aa960c5aed79d35e9a983","after":"188721c5bc8127c3b14d66d5a04365d92ef8d503","ref":"refs/heads/endisable-libusb","pushedAt":"2024-04-12T16:26:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"Disable JRuby on Windows with inline build of libusb\n\nIt fails due to a bug in mini_portile2 / JRuby:\n\n```\nRunning 'configure' for libusb 1.0.27... ERROR. Please review logs to see what happened:\n----- contents of 'D:/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ext/tmp/x86_64-w64-mingw32/ports/libusb/1.0.27/configure.log' -----\nconfigure: error: unrecognized option: `--prefix\\=D:/jruby-9.4.6.0/lib/ruby/gems/shared/gems/libusb-0.6.4/ports/x86_64-w64-mingw32/libusb/1.0.27'\nTry `./configure --help' for more information\n```","shortMessageHtmlLink":"Disable JRuby on Windows with inline build of libusb"}},{"before":"968f63ed77ae121449e556afb86af6f1e12a7994","after":"edb88442d3a1b855acaf3a8fffb1ebb8ea14ef6f","ref":"refs/heads/ci-multiarch","pushedAt":"2024-04-08T06:30:06.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Add jobs for multiarch","shortMessageHtmlLink":"CI: Add jobs for multiarch"}},{"before":"ffb169d3ae7057deb7be66242e9fc1d4c5fdd2b4","after":"968f63ed77ae121449e556afb86af6f1e12a7994","ref":"refs/heads/ci-multiarch","pushedAt":"2024-04-08T06:13:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Add jobs for multiarch","shortMessageHtmlLink":"CI: Add jobs for multiarch"}},{"before":"bdec435a1234587bac9879a726c5249a33c4f37a","after":"ffb169d3ae7057deb7be66242e9fc1d4c5fdd2b4","ref":"refs/heads/ci-multiarch","pushedAt":"2024-04-08T05:58:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Add jobs for multiarch","shortMessageHtmlLink":"CI: Add jobs for multiarch"}},{"before":"7beace172813809dc69342dfd489aa594fdb162b","after":"bdec435a1234587bac9879a726c5249a33c4f37a","ref":"refs/heads/ci-multiarch","pushedAt":"2024-04-05T14:29:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Add jobs for multiarch","shortMessageHtmlLink":"CI: Add jobs for multiarch"}},{"before":"3165ed3efd1e228784cca3f41ce34642cf9deb87","after":"7beace172813809dc69342dfd489aa594fdb162b","ref":"refs/heads/ci-multiarch","pushedAt":"2024-04-05T13:50:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"larskanis","name":"Lars Kanis","path":"/larskanis","primaryAvatarUrl":"https://github.com/avatars/u/176234?s=80&v=4"},"commit":{"message":"CI: Add jobs for multiarch","shortMessageHtmlLink":"CI: Add jobs for multiarch"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0yMVQxNjowNjowMS4wMDAwMDBazwAAAAQ2Vmcw","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0yMVQxNjowNjowMS4wMDAwMDBazwAAAAQ2Vmcw","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0wNVQxMzo1MDoyNC4wMDAwMDBazwAAAAQo7Qdk"}},"title":"Activity ยท larskanis/libusb"}