~blowry

alone at the edge of a universe humming a tune

~blowry/steamarchiver

Last active 24 days ago

~blowry/inbox

Last active 4 years ago
View more

Recent activity

Re: upstream repo - PythonSteam 26 days ago

From Benjamin Lowry to ~blowry/steamarchiver

On 14 Feb 2024, at 3:38, Aussie Gamer wrote:

> all i could think of doing is transplanting in the new login system or
> switch codebases to base it off of
> https://github.com/Gobot1234/steam.py/
Sorry for the delayed response, and thanks for the link. I'm definitely
interested in rewriting to work better with the new login system (and especially
increasing the use of asyncio in the codebase), and if that means moving to a
different upstream library and significantly rewriting the code in the process
then I'd be willing to do it, but I'm really busy with school (hence not
checking my mailing lists for a month) and likely won't have time to do
significant work on this until June at the earliest.

> whatever way its done would be helpful

Re: Stuck when downloading depots from apps you don't own 6 months ago

From Benjamin Lowry to ~blowry/steamarchiver

On 21 Aug 2023, at 9:10, steamarchiver@elbert.anonaddy.com wrote:

> Hey, in the README it's stated that you could download the depots of
> an app even if you don't own the app.m However, whenever I try this,
> I get stucked at "Getting a manifest for app x depot y gid z". It
> works just fine on apps I own though. What am I doing wrong?
Sorry for the extremely late response, I've been having trouble with my email lately.

You weren't doing anything wrong, and what the other user said is correct; while you can still technically download _chunks_ (pieces of game content) from SteamPipe servers without ownership, you have no way of knowing which chunks you need to download without a _content manifest_, which used to be accessible without authentication but now does require authentication. I forgot to update the README when Valve made that change, so thanks for reminding me to do that! (I'll also look into why the program just freezes on "Getting a manifest"; it's supposed to throw an error when the manifest download fails due to lack of authentication.)

If you want to download a non-anonymous (i.e. not a dedicated server, etc.) app using steamarchiver, even if the app is free, you'll need to log in with an account like so:

    python3 depot_archiver.py -a [appid] -u [username]

[PATCH todo.sr.ht 2/2] redirect to correct page when creating & configuring tracker 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-dev

Use canonical_name to redirect to the tracker page with
a tilde before the username.

Signed-off-by: Benjamin Lowry <ben@ben.gmbh>
---
 todosrht/blueprints/tracker.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/todosrht/blueprints/tracker.py b/todosrht/blueprints/tracker.py
index 68cde2c..4d3a5ae 100644
--- a/todosrht/blueprints/tracker.py
+++ b/todosrht/blueprints/tracker.py
@@ -53,7 +53,7 @@ def create_POST():

[message trimmed]

[PATCH todo.sr.ht 1/2] get_tracker: return None if tilde is ommitted 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-dev

This makes the behavior consistent with other sr.ht services

Signed-off-by: Benjamin Lowry <ben@ben.gmbh>
---
 todosrht/access.py | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/todosrht/access.py b/todosrht/access.py
index 3d5eadd..06e3e86 100644
--- a/todosrht/access.py
+++ b/todosrht/access.py
@@ -39,26 +39,26 @@ def get_tracker(owner, name, with_for_update=False, user=None):
    if not owner:
        return None, None
[message trimmed]

[PATCH todo.sr.ht 0/2] Do not allow ommission of tilde 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-dev

This makes todo.sr.ht's behavior consistent with other sr.ht services
by returning a 404 if you try to omit the tilde in a tracker URL. The
second commit also fixes the "Create & configure tracker" button
redirecting you to https://todo.sr.ht/username/tracker without a tilde.
Fixes https://todo.sr.ht/~sircmpwn/todo.sr.ht/198

Benjamin Lowry (2):
  get_tracker: return None if tilde is ommitted
  redirect to correct page when creating & configuring tracker

 todosrht/access.py             | 36 +++++++++++++++++-----------------
 todosrht/blueprints/tracker.py |  2 +-
 2 files changed, 19 insertions(+), 19 deletions(-)

Re: How do I set up the webhooks for hub.sr.ht? 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-discuss

I'm using the latest versions of everything from the git repositories,
on Alpine Linux. All the oauth clients are preauthorized. All of the
services are using the same config.ini in /etc/sr.ht/.

Re: How do I set up the webhooks for hub.sr.ht? 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-discuss

On Mon, 2020-05-04 at 11:31 -0400, Drew DeVault wrote:
> Can you also share the relevant lines from git.sr.ht's web logs?
127.0.0.1 - - [04/May/2020 10:32:43] "GET /api/repos?start=-1 HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/repos/test-repository HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/user/webhooks?start=-1 HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/~blowry/repos/test-repository/webhooks?start=-1 HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2020 10:32:48] "GET /api/~blowry/repos/test-repository/webhooks HTTP/1.0" 200 -

Re: How do I set up the webhooks for hub.sr.ht? 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-discuss

On Mon, 2020-05-04 at 11:21 -0400, Drew DeVault wrote:
> Do you have the full backtrace?
Traceback (most recent call last):                                                                                                                             
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 2334, in __call__                                                                                 
    return self.wsgi_app(environ, start_response)
  File "/usr/lib/python3.8/site-packages/werkzeug/wsgi.py", line 826, in __call__
    return app(environ, start_response) 
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 2320, in wsgi_app
    response = self.handle_exception(e) 
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 1766, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3.8/site-packages/flask/_compat.py", line 36, in reraise 
    raise value
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 2317, in wsgi_app

How do I set up the webhooks for hub.sr.ht? 3 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-discuss

There obviously isn't any documentation yet on man.sr.ht for the hub,
so I figured I'd ask on this list. I got hub.sr.ht installed and
working, but I can't add any repositories, trackers, or lists to a
project. I get the following:

Exception: Failed to create webhook: {"next": null, "results": [], "total": 0, "results_per_page": 50}

Is there something I'm missing? -ben

Re: Should the mailing list respect the user's privacy settings? 4 years ago

From Benjamin Lowry to ~sircmpwn/sr.ht-discuss

Sorry if I miss the point, but I'm trying to understand why you would
want this...all of the emails sent by lists.sr.ht originate by being
created by other users. If the list is public it doesn't matter whether
you get the emails encrypted or not because they're publicly viewable,
and if you want to keep list messages private you should have senders
encrypt their own mail instead of the list doing it for them.