"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Tracey Emery <tracey@traceyemery.net>
Subject:
Re: gotweb
To:
gameoftrees@openbsd.org
Date:
Sat, 19 Oct 2019 09:22:14 -0600

Download raw body.

Thread
  • Tracey Emery:

    gotweb

    • Stefan Sperling:

      gotweb

      • Tracey Emery:

        gotweb

        • Stefan Sperling:

          gotweb

          • Tracey Emery:

            gotweb

Hey Stefan,

Thanks for looking! It's been a lot of fun.

> 
> Hey Tracey,
> 
> Since you mentioned on bsd.network that you'd made some progress
> I browsed the code a bit and it looks like a great start!
> 
If you were looking at my gitweb site, that's old code. I was waiting for
this weekend to send out an official update. ;) That repo was removed
this morning.

> I didn't know about scandir(3), that might be useful in other places
> of the code, too.

I ran across scandir in the diff code in base, after I thought, "I don't
want to hand alphabetise an opendir function!" LOL. I was very happy to
find it.

> 
> In gw_log() you have some commented-out code for opening a worktree.

Good to know, thanks. That's some old test-code I yanked from cmd_log,
just trying to get stuff to work. I'm certain I'll be bending your ear
more over the next few weeks as I work towards completion.

> I don't think anything from got_worktree.h should be needed for gotweb,
> since it can operate on a repository directly. If there's any functionality
> you need for reading a repository which is not available in the current set
> of APIs just let me know.

Awesome!!

> 
> Cheers!

Now, for some updates.

In the interest of simplicity, I setup an account at framagit.org and
forked the got tree. All of the most recent code will now be pushed to
my gotweb branch at https://framagit.org/basepr1me/got/tree/gotweb. As
the complexity of gotweb has grown, I thought it would be easier to do a
pull-request when it's time to merge. If there's another way you'd
prefer to do it, we can cross that bridge when we get there.

I think that most of the plumbing is in place. As I finally started to
wrap my brain around the complexities and inner workings of Kristaps
kcgi stuff, I opted to go with his templating design to keep the gotweb
code more streamlined. Templates and stylesheets seem easier for future
cosmetic tweaking.

I think I'm now down to generating the templates and piping in content
from the got libraries, which is a whole other boatload of work. But,
it's coming along.

As work is being done, I plan on keeping an updated live version at
https://got.traceyemery.net/cgi-bin/gotweb. If anyone has any design
ideas as time progresses, shoot the out here. I'd like our version to be
much better looking than gitweb. It's been a number of years since I was
on the frontend design side of the web. If anyone is a CSS expert, that
would greatly help too!

Thanks,

Tracey

-- 

Tracey Emery