Skip to content

Update dependency graph #18

Open
Open

Description

@isbur

Recent changes are not reflected in the dependecy graph here: https://docs.activitywatch.net/en/latest/architecture.html

Is there any abstract model to be described there? For example, for me it is a bit confusing to face two implementations of server and at least three implementations of client. And I'm talking only about reading the docs, not to mention presence of many more repositories on GitHub with names implying that there are even more implementations of everything.

Activity

  1. ErikBjare commented on May 21, 2020

    @ErikBjare
    Member

    Not quite sure what the confusion is here, but that page could probably need an update so let's try to clear it up.

    The clients are just libraries, and there are several to accommodate different languages from which you might want to connect to the server.

    The two server implementations are due to a rewrite of the original aw-server in Python into our Rust implementation aw-server-rust (better performance, works on Android, etc). Eventually the Python implementation will go away, as we migrate to the Rust implementation.

    Watchers are for collecting different types of activity, they use one of the client libraries under the hood (usually the original aw-client, written in Python).

    Is there any abstract model to be described there?

    Not quite sure what this means? I suppose the dependency graph isn't really about "Architecture" per se, but rather which modules use/depend on which other modules.

    Did I clear up your confusion? What would you expect to be explained/updated on the page?

  2. isbur commented on Jun 19, 2020

    @isbur
    Author

    Is there any abstract model to be described there?

    Not quite sure what this means?

    I meant an abstract aw-server and other modules interfaces description independent from realization details. For me "architecture" is exactly about modules and their interactions, however, it's worth mentioning that one can speak about the architecture on different scales - a la micro- and macro- levels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions