John Vandenberg activity https://gitlab.com/jayvdb 2025-01-18T22:02:45Z tag:gitlab.com,2025-01-18:3962121250 John Vandenberg opened merge request !44: Replace dev-dep custom_derive with macro_attr at Anton Lazarev / enum_dispatch 2025-01-18T22:02:45Z jayvdb John Vandenberg [email protected]

https://crates.io/crates/custom_derive is unmaintained.

See https://github.com/rustsec/advisory-db/issues/2199

tag:gitlab.com,2025-01-18:3962076394 John Vandenberg pushed new project branch replace-unmaintained-custom-derive at John Vandenberg / enum_dispatch 2025-01-18T20:49:34Z jayvdb John Vandenberg [email protected]

John Vandenberg (3e8ebea0) at 18 Jan 20:49

Replace dev-dep custom_derive with macro_attr

tag:gitlab.com,2025-01-18:3962067429 John Vandenberg created project John Vandenberg / enum_dispatch 2025-01-18T20:33:41Z jayvdb John Vandenberg [email protected] tag:gitlab.com,2024-09-06:3623652913 John Vandenberg commented on issue #19 at CreepySkeleton / proc-macro-error 2024-09-06T07:04:21Z jayvdb John Vandenberg [email protected]

https://crates.io/crates/proc-macro-error2 has syn 2 support

tag:gitlab.com,2024-09-06:3623649311 John Vandenberg commented on issue #20 at CreepySkeleton / proc-macro-error 2024-09-06T07:02:58Z jayvdb John Vandenberg [email protected]

https://github.com/rustsec/advisory-db/pull/2057 is merged and https://rustsec.org/advisories/RUSTSEC-2024-0370.html published

tag:gitlab.com,2024-07-02:3471617784 John Vandenberg commented on issue #20 at CreepySkeleton / proc-macro-error 2024-07-02T23:47:00Z jayvdb John Vandenberg [email protected]

I've sent an email to CreepySkeleton referring them to this issue.

tag:gitlab.com,2023-06-20:2663694718 John Vandenberg commented on issue #4 at Jean SIMARD / cargo-sonar 2023-06-20T02:38:06Z jayvdb John Vandenberg [email protected]

https://community.sonarsource.com/t/generic-code-coverage-report-refers-to-a-file-with-an-unknown-language/26582/6?u=jayvdb suggests that this will never work until Rust language support has been added.

And recent discussion at https://community.sonarsource.com/t/add-rust-language-support/13443/33 suggests that is still not on the roadmap.

I've created a thread at https://users.rust-lang.org/t/current-state-of-code-coverage-in-rust-june-2023/95651 which might be of interest.

tag:gitlab.com,2022-09-21:2127529162 John Vandenberg opened issue #4: code coverage support at Jean SIMARD / cargo-sonar 2022-09-21T12:25:34Z jayvdb John Vandenberg [email protected]

In https://gitlab.com/woshilapin/cargo-sonar/-/blob/main/.gitlab/sonar.yml , and in the source code, I see code coverage is already supported.

According to https://docs.sonarqube.org/latest/analysis/generic-test/ , it should be possible to set sonar.coverageReportPaths. I see in https://gitlab.com/woshilapin/cargo-sonar/-/blob/main/sonar-project.properties that sonar.coverageReportPaths is not yet working due to https://jira.sonarsource.com/browse/SONAR-15387 , which has been marked as closed/fixed.

According to the JIRA, the fix was released in v9.2. I guess from https://community.sonarsource.com/t/go-1-18-ruby-3-1-scala-2-13-8-and-3-1-2-apex-54-12-0-analysis-support/67156 that sonarcloud is currently on v9.6, so the fix should be available.

Has it been re-attempted since then? Is there some additional bug which is blocking this?

I cant see what is happening in https://discuss.sonarsource.com/t/non-scoped-source-file-listed-in-generic-coverage-file-fails-the-analysis/8542 , which is linked in the JIRA. Creating an account there fails.

https://community.sonarsource.com/t/generic-code-coverage-report-refers-to-a-file-with-an-unknown-language/26582 is a similar problem IIUC.

tag:gitlab.com,2022-08-31:2087572962 John Vandenberg deleted project branch spelling at John Vandenberg / impetuous 2022-08-31T15:50:19Z jayvdb John Vandenberg [email protected]

John Vandenberg (3728f83b) at 31 Aug 15:50

tag:gitlab.com,2022-08-31:2086810242 John Vandenberg opened merge request !2: setup.py: Fix spelling at sqwishy / impetuous 2022-08-31T10:59:37Z jayvdb John Vandenberg [email protected]
tag:gitlab.com,2022-08-31:2086809846 John Vandenberg pushed new project branch spelling at John Vandenberg / impetuous 2022-08-31T10:59:26Z jayvdb John Vandenberg [email protected]

John Vandenberg (3728f83b) at 31 Aug 10:59

setup.py: Fix spelling

tag:gitlab.com,2022-08-31:2086807493 John Vandenberg created project John Vandenberg / impetuous 2022-08-31T10:58:22Z jayvdb John Vandenberg [email protected] tag:gitlab.com,2022-08-17:2059264182 John Vandenberg closed merge request !1: setup.py: Add url at lino-framework / rstgen 2022-08-17T01:26:10Z jayvdb John Vandenberg [email protected]
tag:gitlab.com,2022-08-17:2059264179 John Vandenberg commented on merge request !1 at lino-framework / rstgen 2022-08-17T01:26:09Z jayvdb John Vandenberg [email protected]

Done in 130a0085

tag:gitlab.com,2022-05-18:1892573315 John Vandenberg deleted project branch dj40 at John Vandenberg / HyperKitty 2022-05-18T11:12:15Z jayvdb John Vandenberg [email protected]

John Vandenberg (5641fb24) at 18 May 11:12

tag:gitlab.com,2022-05-05:1867648776 John Vandenberg commented on merge request !384 at GNU Mailman / HyperKitty 2022-05-05T00:51:36Z jayvdb John Vandenberg [email protected]

Done, I think. Let me know if anything else is needed.

tag:gitlab.com,2022-05-04:1867615428 John Vandenberg pushed to project branch dj40 at John Vandenberg / HyperKitty 2022-05-04T23:57:50Z jayvdb John Vandenberg [email protected]

John Vandenberg (5641fb24) at 04 May 23:57

Add news entry

tag:gitlab.com,2022-05-04:1867612889 John Vandenberg commented on merge request !384 at GNU Mailman / HyperKitty 2022-05-04T23:53:25Z jayvdb John Vandenberg [email protected]

I've rebased and dropped the top commit which contained the overrides for dj40 forks. I'll add the news entry now.

Worth noting on my mac (Monterey), tox -e py39-django40 failed with lots of errors like

FAIL: test_non_ascii_text_attachment_declared_as_ascii (hyperkitty.tests.lib.test_incoming.TestAddToList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jayvdb/python/hyperkitty/hyperkitty/tests/lib/test_incoming.py", line 201, in test_non_ascii_text_attachment_declared_as_ascii
    add_to_list("example-list", msg)
  File "/Users/jayvdb/python/hyperkitty/hyperkitty/lib/incoming.py", line 57, in add_to_list
    update_from_mailman(mlist.name)
  File "/Users/jayvdb/python/hyperkitty/hyperkitty/tasks.py", line 143, in update_from_mailman
    AsyncTask(_update_from_mailman, mlist_name,
  File "/Users/jayvdb/python/hyperkitty/.tox/py39-django40/lib/python3.9/site-packages/django_q/tasks.py", line 719, in run
    self.id = async_task(self.func, *self.args, **self.kwargs)
  File "/Users/jayvdb/python/hyperkitty/.tox/py39-django40/lib/python3.9/site-packages/django_q/tasks.py", line 71, in async_task
    return _sync(pack)
  File "/Users/jayvdb/python/hyperkitty/.tox/py39-django40/lib/python3.9/site-packages/django_q/tasks.py", line 761, in _sync
    result_queue = Queue()
  File "/Users/jayvdb/python/hyperkitty/.tox/py39-django40/lib/python3.9/site-packages/django_q/queues.py", line 54, in __init__
    super(Queue, self).__init__(
  File "/usr/local/Cellar/[email protected]/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/queues.py", line 43, in __init__
    self._rlock = ctx.Lock()
  File "/usr/local/Cellar/[email protected]/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py", line 68, in Lock
    return Lock(ctx=self.get_context())
  File "/usr/local/Cellar/[email protected]/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/synchronize.py", line 162, in __init__
    SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx)
  File "/usr/local/Cellar/[email protected]/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/synchronize.py", line 57, in __init__
    sl = self._semlock = _multiprocessing.SemLock(
OSError: [Errno 24] Too many open files

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/jayvdb/python/hyperkitty/hyperkitty/tests/lib/test_incoming.py", line 203, in test_non_ascii_text_attachment_declared_as_ascii
    self.fail(e)
AssertionError: [Errno 24] Too many open files

Nothing like that has been reported in the issues; very likely I've got too many other things happening at the same time.

tag:gitlab.com,2022-05-04:1867600764 John Vandenberg pushed to project branch dj40 at John Vandenberg / HyperKitty 2022-05-04T23:34:52Z jayvdb John Vandenberg [email protected]

John Vandenberg (312049e1) at 04 May 23:34

Add Django 4.0 job

... and 133 more commits