J. David Ibáñez

Results 18 issues of J. David Ibáñez

In some doc-strings we use formatting rules specific to Sphinx, but which make the interactive help (pydoc) to look bad. This issue is about: - defining how we should write...

documentation

To have one exception for every `GIT_EXXX` all of them inheriting from `GitError`, use a consistent naming, e.g. `GIT_EINVALIDSPEC` would become `GitInvalidSpecError` or maybe just `InvalidSpecError`. To provide backwards compatibility...

change

I've been accepted in GitHub's sponsors program. This is an opportunity to make pygit2 better: :heart: https://github.com/sponsors/jdavid

For consistency and better performance (not creating objects that may not be used). ``` $ grep MEMBER src/* src/diff.c: MEMBER(DiffFile, id, T_OBJECT, "Oid of the item."), src/diff.c: MEMBER(DiffFile, path, T_STRING,...

Follow up from #610 #790 and #893 General policy: - Do not implement `str()` - To get unicode string use `.text` - In `.text` use UTF-8 and *replace* (the rationale...

### Contribution description Add the SD card configuration to the waspmote-pro board. ### Testing procedure Before this change: ``` $ PORT=/dev/ttyUSB0 BOARD=waspmote-pro make -C tests/driver_sdcard_spi all flash term > init...

CI: ready for build
Area: boards
Area: Kconfig

### Contribution description Add MTD configuration to the remote-revb board. ### Testing procedure ``` $ BOARD=remote-revb make -C tests/mtd_raw all flash term [...] 2022-09-20 09:48:12,881 # main(): This is RIOT!...

CI: ready for build
Area: boards

Sometimes a change in the code should trigger the invalidation of the cache. The idea is to add the ``version`` optional parameter to ``cache_memoize``, defaulting to ``None``. Then the version,...

When using NanoCBOR with the waspmote-pro board (in RIOT), I get the following error: ```sh $ BOARD=waspmote-pro make -C tests/pkg_nanocbor make: Entering directory '/home/jdavid/sandboxes/UiO/RIOT/tests/pkg_nanocbor' Building application "tests_pkg_nanocbor" for "waspmote-pro" with...

Comes from #120 Suggested pseudo code by paddybyers ``` environment = os.environ.get('ABLY_ENV', 'sandbox') host = (environment == 'production) ? 'rest.ably.io' : environment + '_rest.ably.io' port = (environment == 'local') ?...