Re: Re: GitHub
By: Ragnarok to Digital Man on Wed Aug 26 2020 08:09 pm
>
> > > Maybe creating some kind of hook. A script that read the Id from the
> > > file and increment it
>
> > > https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
>
> > > But, i think that is not necesary had the old versioning method into
> > > the actual git..
>
> > Yup. Most of those are client-side hooks (not copied into the repo itself,
> > so not present in other clones) - so not useful. Some kind of server-side
> > hook maybe. I plan to look into it more.
> I notice that gitlab can execute server-side hooks too.
>
> https://docs.gitlab.com/ee/administration/server_hooks.html#create-a-server-
> hoo k-for-a-repository
Yup, I've been looking at them and experimenting.
> Then, is the file version really necessary?
It certainly comes in handy when I can tell a sysop that the reported problem
was fixed (or the requested feature added) in msglist.js revision 1.12. Oh, you
have rev 1.14? Cool, you already have it. Oh, you have revision 1.11? You
should update that file (at minimum).
digital man
Synchronet "Real Fact" #74:
Vertrauen went online (as a WWIV BBS running on a 10MHz PC-XT clone) in 1988.
Norco, CA WX: 85.1øF, 49.0% humidity, 11 mph NE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|