Ticket #84 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Allow recipes to be created non-interactively

Reported by: blee Owned by: ccowart
Priority: major Milestone: confman-1.9.3
Component: confman Version: 1.9.2b
Keywords: Cc:

Description

It would be nice if recipes could be created non-interactively.

Change History

comment:1 Changed 2 years ago by ccowart

I think we should support a "-F" flag with the same semantics as
svn. Or maybe we should use that for logs and support "-R" to
specify the recipe in a file?

comment:2 Changed 2 years ago by ccowart

  • Owner changed from confman-developers@… to ccowart
  • Status changed from new to accepted

comment:3 Changed 2 years ago by ccowart

In [462] Reworked the way in which confman handles opening an EDITOR for
recipe editing and log message capturing.

This implements a reasonable template for recipe files providing better
context clues to the user. See #83.

This also allows recipes to be created non-interactively. After adding
the -R flag to confman recipe create, it became obvious that unless
the svn logs could also be captured with something like -m or -F
(similar to actual svn client behavior), that things wouldn't be totally
non-interactive. A lot of rewriting of log handling has happened, touching
both the install and commit functions in addition to the recipe editor.
See #84.

Due to the large extent of these changes, let's make sure it gets a good
round of testing in several environments before we clear it to be merged
into the 1.9 branch.

The referenced tickets will remain open until the merge has happened.

comment:4 Changed 2 years ago by ccowart

  • Summary changed from Allow recipes to created non-interactively to Allow recipes to be created non-interactively

comment:5 Changed 2 years ago by ccowart

(In [464]) I've significantly improved the new log message handling features.

The -m/-F now are expected in the more intuitive placement of after the
command they modify (just like svn).

They were also adopted to the recipe create, edit, and remove commands with
their new placement.

See #83, #84

comment:6 Changed 2 years ago by ccowart

(In [469]) Removing a debugging statement that slipped into trunk.

See #84

comment:7 Changed 2 years ago by ccowart

  • Status changed from accepted to needsmerge

comment:8 Changed 2 years ago by ccowart

  • Status changed from needsmerge to closed
  • Resolution set to fixed

(In [481]) Merging improved recipe creation and editing from trunk.

Resolves #83, #84

Note: See TracTickets for help on using tickets.