aplteam / Tatin

Tatin is a package manager for Dyalog APL
MIT License
25 stars 6 forks source link

Allow "watching" packages #174

Open aplteam opened 9 months ago

aplteam commented 9 months ago

Similiar to GitHub's "watching a project" this should allow a user to watch a particular package, and get notifications of new versions etc.

DavinChurch commented 9 months ago

I like this idea! I'm thinking it might be nice to be automatic, but I can't figure out any way to tell if they're actually using a package (and thus could use notifications) or if they were just trying it out. Asking them to subscribe to notifications is a much more fair way to do it, of course, but I can't help but think that most people wouldn't bother. It may be that this feature doesn't end up getting much use, but I can't see that there's much else to be done about it.

I wonder if it might be reasonable for Tatin to keep track of the last version that everybody downloaded and when they did something like update Tatin (or other major query operation), also tell them about anything else they might also want to update?

aplteam commented 9 months ago

There are two very different scenarios:

I am the owner

I own a package that depends on several packages, some of which I control and some which I don't.

In this case I want to watch all dependencies that I do not control, obviously.

I am the consumer

I use a package somewhere, and therefore I want to watch that package. I am not interested in the dependencies of that package because there is nothing I can do about them anyway.