Your message dated Sun, 19 Jan 2025 10:31:04 +0000
with message-id <[email protected]>
and subject line Re: Bug#1093426: dgit: How to specify a different dgit upload 
host?
has caused the Debian Bug report #1093426,
regarding dgit: How to specify a different dgit upload host?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1093426: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093426
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dgit
Version: 12.4
Severity: minor
X-Debbugs-Cc: [email protected]

Hi,

When using `dgit push-source`, then `dgit` performs the upload with `dput ftp-master ../foo_version_source.changes`. The `ftp-master` upload host is not very reliable for me (I think it is the `ftp` part that causes me grief). Instead, prior to `dgit`, I have been using the `ssh-upload` host instead. These days, I find that I am working around the failing `dgit push-source` by manually rerunning the `dput ssh-upload` host instead.

I am not sure how to convince `dgit` to use that host instead of `ftp-master` and it explicit passes the host, so it is not possible for me to tweak the default in `dput`'s config files either (I have to replace the `ftp-master` configuration with `ssh-upload`, which is quite heavy handed).

I checked `man dgit` but I could not find any obvious way to do it other than via the `--dput=wrapper`. However, it does seem to be more involved that it should have been and implies that I alias `dgit` or manually pass the option each time.

Have I overlooked a simpler solution? If not, would it be possible for `dgit` to enable an easier way to change the default upload host?

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Hello,

On Sat 18 Jan 2025 at 04:03pm +01, Niels Thykier wrote:

> When using `dgit push-source`, then `dgit` performs the upload with `dput
> ftp-master ../foo_version_source.changes`. The `ftp-master` upload host is not
> very reliable for me (I think it is the `ftp` part that causes me
> grief). Instead, prior to `dgit`, I have been using the `ssh-upload` host
> instead. These days, I find that I am working around the failing `dgit
> push-source` by manually rerunning the `dput ssh-upload` host instead.
>
> I am not sure how to convince `dgit` to use that host instead of `ftp-master`
> and it explicit passes the host, so it is not possible for me to tweak the
> default in `dput`'s config files either (I have to replace the `ftp-master`
> configuration with `ssh-upload`, which is quite heavy handed).
>
> I checked `man dgit` but I could not find any obvious way to do it other than
> via the `--dput=wrapper`. However, it does seem to be more involved that it
> should have been and implies that I alias `dgit` or manually pass the option
> each time.
>
> Have I overlooked a simpler solution? If not, would it be possible for `dgit`
> to enable an easier way to change the default upload host?

I do believe you've overlooked a simpler solution.  In my
~/.config/git/config I have

    [dgit-distro "debian"]
            keyid = 8DC2487E51ABDD90B5C4753F0F56D0553B6D411B
            upload-host = ssh-upload

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to