git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Added macro support to qgit

From
PRPavel Roskin <proski@gnu.org>
Date
Jun 23, 2006, 20:15 UTC
Message-ID
<1151093749.10112.11.camel@dv>
In-Reply-To
<e5bfff550606231044j4586ea65v191f86a869237b84@mail.gmail.com>
On Fri, 2006-06-23 at 19:44 +0200, Marco Costalba wrote:
> Or just "commands"? in any case I agree "macro" was not a good choice.

For a menubar entry, something short is preferred, so "Commands" or "Actions" would be better than "external commands". Emacs calls it "Tools". But for a menu entry and the dialog title, "external commands" would be better.

> The bug is qgit lets you write the first foo bar, before you press NEW
> button. It shouldn't. Also some buttons enable/disable policy could be
> good.
Definitely.
> > What happens to the arguments qgit is asking for if a multiline entry is
> > executed?  I understand they are prepended to the first line.  This is
> > not quite logical.  Wouldn't it be better to have a shell like notation
> > for them?
I meant appended, sorry.
> I thought of commands sequence as a quick way to run some simple
> commands as git pull, git push or similar without writing a bash
> script, i.e. no $1 for arguments. If you need something more complex
> the external script is supposed to be the proper way.

I think the checkbox controlling whether to ask for arguments allows selection between "simple" and "complex" commands.

> Perhaps we could remove the external script single edit line and use
> only the multiline edit to let user insert commands or script.
I agree.
> > I see the macros are saved in the qgit configuration for the
> > user .qt/qgitrc, like this:
> Well, this file is really not meant to be view nor to be modified by
> hand, it is mainly a qgit 'private' thing stuff. Being qgit a GUI tool
> with a (nice ;-)  ) settings dialog, configuration file is mainly used
> for persistency, not for browsing/setup.
OK
> I hope to fix the external commands interface bugs this week-end.
I'm looking forward to testing it.
-- 
Regards,
Pavel Roskin
Previous: Marco Costalba
Message 4 of 4 in “Added macro support to qgit”
  1. Marco CostalbaJun 22, 2006
  2. Pavel RoskinJun 23, 2006
  3. Marco CostalbaJun 23, 2006
  4. Pavel RoskinJun 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.