On 2020-11-16 15:16, Jon Turney wrote:
> On 16/11/2020 21:54, Brian Inglis wrote: >> On 2020-05-27 16:27, Jon Turney wrote: >>> On 04/08/2019 21:08, Jon Turney wrote: >>>> To remedy this lack, using the same ssh key you use for sftp package upload, >>>> package maintainers can now also push to git repositories, like so: >>> >>> Package maintainers may have noticed that the output from pushing to these >>> git repositories now includes a line like: >>> >>> "remote: scallywag: build nnn queued" >>> >>> This is a *prototype* of a system to automatically build the packages, where >>> the results appear (some time later) at [1] (URL subject to change) >>> >>> [1] https://cygwin.com/cgi-bin2/jobs.cgi >> >>> To allow experimentation without messing up the version history unnecessarily: >>> >>> - All package repositories allow the maintainer(s) to create, push, rewind >>> and delete a branch named 'playground'. >>> >>> - An additional package repository called 'playground' exists, that all >>> maintainers can do anything to. >> >> Could anyone please check and advise if the attached .git/config will allow me >> to push to the playground repo and later branch for testing, or demo the >> appropriate .git/config entries or git config commands to do so properly? > > To push to the playground repo, I generally just use 'git push > ssh://[hidden email]/git/cygwin-packages/playground.git -f'. Thanks, the -f did it, but I've "-f'ed" myself a lot with git, so avoid it. > The URLs in that config don't look quite right, since they seem to have hostname > of just 'cygwin'? My ~/.ssh/config has "host" names for orgs and systems, but some programs (git?/lftp?/sftp?/?) get confused if you use those in other connection strings: "what do you mean '[hidden email]@[hidden email]'", but your git command also worked without complaints. >> Is there any way to move tags to a later commit once pushed? >> I have one in wget that can't be deleted or forced because of the hook fallthru. > > tags don't have any particular significance, at the moment. > > I removed the wget '1.20.3-2' tag for you. Cheers, thanks! I will wait until finished changing and reviews before pushing tags in future. >> Finally are there other CI jobs.cgi?params=... other than id, e.g. >> jobs.cgi?by=Brian+Inglis? > > Not at this time. I agree it would be nice if you could filter by the various > columns. > > The jobs.cgi script script is tiny (see [1]), if you want to make improvements. > > [1] https://cygwin.com/git/?p=cygwin-apps/scallywag.git;a=blob;f=jobs.cgi Not at this time. Would bloat up your tiny script! ;^> -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] |
In reply to this post by Brian Inglis
Brian Inglis writes:
> Could anyone please check and advise if the attached .git/config will > allow me to push to the playground repo and later branch for testing, > or demo the appropriate .git/config entries or git config commands to > do so properly? I usually define my own repo schemes in the global (user) Git config: --8<---------------cut here---------------start------------->8--- [url "ssh://sourceware.org/git/"] pushInsteadOf = cygwin: [url "ssh://[hidden email]"] pushInsteadOf = git://cygwin.com [url "git://cygwin.com/git/cygwin-packages"] InsteadOf = cygpack: [url "ssh://[hidden email]/git/cygwin-packages"] pushInsteadOf = cygpack: --8<---------------cut here---------------end--------------->8--- which then enables me to address the repo like this (each package is a submodule in an umbrella repository: --8<---------------cut here---------------start------------->8--- [submodule "perl"] url = cygpack:/perl active = true --8<---------------cut here---------------end--------------->8--- THis also works on the command line, so if I ever want to check out something quickly it is a lot easier to type. I never configure the playground as a local branch, I've posted how to push to that branch and remove it if and when you need it earlier. > Is there any way to move tags to a later commit once pushed? A tag is just a special commit, so as with all things Git: no, unless you can rewrite history, i.e. force-push. Just do not tag things you haven't published. > Finally are there other CI jobs.cgi?params=... other than id, > e.g. jobs.cgi?by=Brian+Inglis? Yes, that database is now large enough that filtering would be helpful. Probably a case of SHTDI, PTC… :-) Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds |
Free forum by Nabble | Edit this page |