~mariusor

https://metalhead.club/@mariusor

Mostly a programmer.

~mariusor/go-activitypub-dev

Last active 2 months ago

~mariusor/mpris-tools

Last active 2 months ago

~mariusor/go-activitypub-discuss

Last active 3 months ago
View more

Recent activity

Re: Receiving 403 when cloning public repository from GitHub Action a month ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2025-01-24 15:35, Drew DeVault wrote:
> Hey Jon, Azure was blacklisted for aggressive git crawling and I guess
> that's where GitHub Actions run from. I don't know of a good way to
> distinguish GitHub Actions from less desirable traffic coming out of
> Azure

Hi Drew,

It's probably not worth doing the leg work to automate this, but github 
provides the IP addresses behind an API call.

I suppose you could white list the ones currently assigned for GH 
actions: https://api.github.com/meta

[PATCH] Improvements to page cursors a month ago

From Marius Orcsik to ~mariusor/go-activitypub-dev

---
 cursor.go                      |   6 +-
 filters.go                     |  55 ++++++++++++++-
 handlers.go                    |   2 +-
 models.go                      |  34 +++++----
 repository.go                  | 121 ++++++++++-----------------------
 templates/partials/footer.html |   6 +-
 templates/partials/head.html   |   4 +-
 view.go                        |  17 +++--
 8 files changed, 130 insertions(+), 115 deletions(-)

diff --git a/cursor.go b/cursor.go
index a1ae9f2c..7b4daabc 100644
--- a/cursor.go
[message trimmed]

Re: No build services getting triggered on a payed account? 2 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

On 25-01-01 14:10:25, Jens Schmidt wrote:
> which should have triggered a build.
> 
> But nothing happened.  At all.

Had the same issue intermitently for the past couple of days.
When it happened I just used hut to start a build manually.

/Marius

FEP-6606: ActivityPub client to server collections addressing improvements 3 months ago

From Marius Orcsik to ~mariusor/go-activitypub-discuss

Announcing the submission of one of my oldest fediverse enhancement
proposals to the Codeberg FEP official repository[1].

As mentioned the services making use of the GoActivityPub library
already support this FEP. Here are some examples:

 * User discovery based on preferredUsername in the /actors collection:

https://federated.id/actors?maxItems=100&name=marius

 * User discovery based on preferredUsername as /inbox Create object:

https://federated.id/inbox?maxItems=100&type=Create&object.name=marius

Re: Run build only on push to certain branch 5 months ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2024-09-26 10:48, Genevieve Clifford wrote:
> Is there a way of specifying in the YAML build specification that
> builds should only run on pushes to certain branches?

I think the assumption is that you can exit early from a task, or 
execute complete-build to stop all tasks, if your branch doesn't match 
the one that you want.

Cheers,
/Marius

Re: storage-sqlite: Provide access to underlying db connection 6 months ago

From Marius Orcsik to ~mariusor/go-activitypub-discuss

On 24-09-14 21:50:12, Dan Jones wrote:
> Hi,
> 
> I'm just getting started with go-ap, building a new type of single-user
> instance, which uses sqlite as the db.

Hello Dan I'm glad to hear that. :)

> I'm wondering if you could add a method to the repository to get the
> underlying database connection.
> 
> This would make it easier to integrate with an application that needs to
> store more data in the database.

Re: Unable to receive emails from my own lists 10 months ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2024-04-29 14:11, Conrad Hoffmann wrote:
> As such, my guess would be there must be something on your (or rather, 
> their)
> side, maybe something that trips the spam filter or such?
> 

Hey Conrad, I contacted purelymail support and the reason they have 
given me
for the failures to deliver are DKIM validation issues of the messages.

This is a direct quote from their reply:

> I think this might be SourceHut's fault. If their export thread (mbox) 
> button

Re: Unable to receive emails from my own lists 10 months ago

From Marius to ~sircmpwn/sr.ht-discuss

On 2024-05-02 08:06, Conrad Hoffmann wrote:
> Hope that helps,
> Conrad

Thank you, I'll take this to the Purelymail support.

Cheers,
/Marius

Re: Unable to receive emails from my own lists 10 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

On 24-04-29 16:11:22, Conrad Hoffmann wrote:
> As such, my guess would be there must be something on your (or rather,
> their) side, maybe something that trips the spam filter or such?

Hi Conrad, thank you for looking into this.

I think the mpris-tools list works now, I had a couple of emails from
github that have reached me.

However another one(~mariusor/go-activitypub-dev) does not. I just
submitted a commit on one of the projects attached to it, github sent an
email to the list, it can be seen in the web interface[1] but nothing
reached my inbox.

Re: Unable to receive emails from my own lists 10 months ago

From Marius Orcsik to ~sircmpwn/sr.ht-discuss

On 24-04-28 08:58:53, Ren Kararou wrote:
> Hi Marius.
> 
> sourcehut lists won't send mails to the author of the post.  I'm going
> to go out on a limb and assume that the last mail you got from the list
> was 7 months ago, because that was the last time that someone other than
> yourself mailed in a post.
Hi Ren, that might be a good clue, but the emails coming from Github
do not come from any addresses that are associated with my account on
SourceHut:

> From: Marius Orcsik <noreply@github.com>
> To: ~mariusor/mpris-tools@lists.sr.ht