Anyone using soucehut (sr.ht)? Can you please explain to me how you navigate the site?

I really like the minimalist approach and extremely fast website UI, but I just cannot navigate the site.

If I’m looking at source of a repo on https://git.sr.ht/ and want to see open tickets, how do I navigate to https://todo.sr.ht/ ? If I click on “todo” at the top, it takes me to my todo lists, not todo of the project I was just looking at.

  • Deckweiss@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    11 hours ago

    I don’t navigate the site at all.

    I just use the commandline to push commits to repos.

    For creating a new repo on sr.ht I have written a script that uses the GraphQL API (which is horribly documented in my opinion and required days of trial and error). It is not meant for general users and is specific to my needs, but anyone who is interesred can find it linked below.

    If you want to use it, you have to run git init and do a commit first. Everything else should be explained in the help. The script does some other stuff that I wanted when migrating all my projects from github, which you should be able to easily modify.

    https://clbin.com/EII4R

    (unlicense)

    • paequ2@lemmy.today
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 hours ago

      Create a new repo locally.

      git init
      git add .
      git commit -m "Initial commit"
      

      Then to create a new remote repo, you can do this.

      git remote add origin [email protected]:~user/my-new-repo
      git push origin main
      

      You’ll get a message that says.

      remote: 
      remote:         NOTICE
      remote: 
      remote:         You have pushed to a repository which did not exist. ~user/my-new-repo
      remote:         has been created automatically. You can re-configure or delete this
      remote:         repository at the following URL:
      remote: 
      remote:         https://git.sr.ht/~user/my-new-repo/settings/info