vain
vain
The pasting code iterates over the *bytes* we read from `wl-paste`/`xclip` and that breaks when you try to paste multibyte sequences: https://github.com/Cloudef/bemenu/blob/5bc8a6caaa74f2255fbf4ef8185be50c6e3e6fbe/lib/menu.c#L1199-L1203 As an example, select this character: `ö` and...
Is this a left-over or a bug?
https://docs.bundlewrap.org/repo/metadata.py/ - `metadata_reactor.provides` is missing - It says `The parameter metadata is not a dictionary but an instance of Metastack.` That’s wrong now, it’s a `NodeMetadataProxy`. But we probably should...
In `items/files.py`, we have this: ``` @cache def check_download(url, timeout): try: head(url, timeout=timeout).raise_for_status() except Exception as exc: return exc else: return None ``` The [docs of Requests](https://docs.python-requests.org/en/latest/user/quickstart/#redirection-and-history) say: > By...
See comment here: https://github.com/bundlewrap/bundlewrap/pull/829#pullrequestreview-2873916279
`/integration/bw_apply_git_deploy.py` leaves files behind that can't be removed without root permissions. ``` $ cd /tmp $ rm -Rf pytest-of-username/ rm: cannot remove 'pytest-of-username/garbage-bdcf595a-c12d-4ad8-b556-9106e6f6528b/test_deploy_from_url0/git_deployed_bw/.bundlewrap_git_deploy': Permission denied rm: cannot remove 'pytest-of-username/garbage-bdcf595a-c12d-4ad8-b556-9106e6f6528b/test_deploy_from_url0/git_deployed_bw/tests/unit/utils_text.py': Permission...
Upstart has been dead for over 10 years: https://en.wikipedia.org/wiki/Upstart_(software) > As of June 2024, there have been no updates released for Upstart since September 2014. https://upstart.ubuntu.com/cookbook/ doesn’t even exist anymore.
Since https://github.com/bundlewrap/bundlewrap/pull/509, we make an empty dict available for every known item type. The reason for that is to make `items.py` shorter but also to make it harder to accidentally...
You just get something like that: ``` object address : 0x74be56aa6e60 object refcount : 3 object type : 0x74be5faaf100 object type name: TypeError object repr : TypeError("object of type 'NoneType'...