darcs

Issue 1345 Pluggable suggestions for --ask-deps

Title Pluggable suggestions for --ask-deps
Priority feature Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, greenrd, kowey, thorkilnaur
Assigned To greenrd
Topics

Created on 2009-02-04.14:19:17 by greenrd, last changed 2017-08-09.14:48:10 by bfrk.

Messages
msg7272 (view) Author: greenrd Date: 2009-02-04.14:19:14
Wish to add two subsidiary options for --ask-deps (i.e. options that are
disallowed when --ask-deps is not enabled):

--suggest-deps would use "plugins" for various file formats (e.g. Haskell source
code, Haskell literate source code, Gitit wiki pages, etc.) to try to
automatically suggest patches that should be depended upon. The suggestion, and
the reasoning behind them, would appear immediately before the corresponding
"depend on this patch" question.

--only-suggestions to *only* ask about the patches that the dependency plugins
suggest (this obviously requires some confidence in the suggester plugins'
correctness and completeness, and might not be appropriate if there is no plugin
for a certain filetype used in the repository - hence this behaviour should be
optional).

Not sure it's possible to do this 100% reliably automatically: A patch might add
something to a long comment that looks like code, but of course because it's
inside a comment, it creates no build dependencies - but that's not obvious just
looking at the patch itself. But if the user is confident that it's going to
work tolerably well, they can just use --ask-deps --suggest-deps
--only-suggestions and then press 'a' to select all.

I intend to implement this in the near future (unless someone else wants to do it).
msg19530 (view) Author: bfrk Date: 2017-08-09.14:48:08
Closing this one. The proposal is much too vague to act on. How is the
plugin mechanism supposed to work? The OP never followed up with a patch
so I guess he/she lost interest.
History
Date User Action Args
2009-02-04 14:19:17greenrdcreate
2009-08-24 12:23:33koweysetstatus: has-patch -> needs-implementation
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, greenrd
2009-08-25 17:40:30adminsetnosy: + darcs-devel, - simon
2009-08-27 14:31:50adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, greenrd
2017-08-09 14:48:10bfrksetstatus: needs-implementation -> given-up
messages: + msg19530