On 02/02/2025 17:29, Michael Cook via Cygwin-apps wrote:
Let's see if I understand correctly...
In cygwin-packages I have this:
$ git remote -v
origin https://cygwin.com/git/cygwin-packages/astyle/ (fetch)
origin https://cygwin.com/git/cygwin-packages/astyle/ (push)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
[...]
I think I should commit these files and push them directly to the upstream
master.
You cannot push using the http protocol (because we can't authenticate
you using an ssh key over that protocol).
So, you need to use the URL form outlined in [1] to push.
Either by explicitly specifying the URL when pushing as shown there, or
configuring that with 'git remote set-url --push origin
cyg...@cygwin.com:/git/cygwin-packages/astyle'
[1] https://cygwin.com/packaging/repos.html
Should I `git rm astyle-2.06*`? Or just leave them. Or does it not matter.
Yes, please remove no longer relevant files.
Then I can do
cygport astyle.cygport all
cygport astyle.cygport up
and using lftp I should see files have appeared in x86_64/release/astyle/
Then I create the !ready file:
No, you don't need to do that, 'cygport up' does that for you.
The "manual" steps mentioned in [2] are just documentation for what's
going on under the hood here.
[2] https://cygwin.com/package-upload.html
lftp cygwin.com:/x86_64/release> put /dev/null -o !ready
Then some time later I'll get an email saying that my upload was detected
by "calm" and passed whatever checks calm does.
(The https://cygwin.com/package-upload.html page talks about "calm" without
explaining what it is. I infer it's some kind of CI bot.)
'calm will scan the upload directories for packages that are ready,
verify them, and, if there are no errors, move the packages into the
real release area' is on that page.
But yeah, probably could be clearer.
Next, this page
https://cygwin.com/packaging-contributors-guide.html#updating says to
run "cygport
announce" to start composing an announcement email.
The page doesn't say explicitly where to send the email.
I'm guessing I just send it to cygwin-announce
That is correct.
Then I'm done.
Yup. Thanks.
Please ask here if you have any problems.