[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tasks policy

On Tue, May 08, 2001 at 12:19:20PM -0400, Sam Hartman wrote:
> >>>>> "Anthony" == Anthony Towns <aj@azure.humbug.org.au> writes:
>     Anthony> You
>     Anthony> check the code out from CVS, or do an apt-get source, you
>     Anthony> write the code, and you send it to Randolph. It doesn't
>     Anthony> need discussion here.
> I resent the implication that I'm responsible for fixing any problem
> that I discover.


Seriously, it's quite easy. That's how "Task:" got implemented. I ran
"apt-get source", read the code 'til I understood it, implemented it,
did some testing, sent the patch to Randolph, and it got into the archive.

> I believe there is value in pointing out a problem
> report even if you don't have the resources to fix it.

What do you mean you don't have the resources to fix it? The code's all
right there. There're debuggers, and compilers and everything. There's
no licensing restrictions in your way. There's not even any controversy
about whether it'd be a Good Thing. It's not even hard.

(If you're trying to say you don't have the skill to fix it, then, quite
frankly, you probably shouldn't be trying to insist on what others should
be doing.)

>     Anthony> Not really. Frontends should do whatever their authors
>     Anthony> deem appropriate and have time to implement. If you want
>     Anthony> to send in patches, or write your own frontend, more
>     Anthony> power to you. It's not policy's place to say anything
>     Anthony> about what features you should and shouldn't implement
>     Anthony> though.
> I disagree in general; [...]

That doesn't really surprise me. It's much more fun to disagree about
things than to fix them. Even when it's not actually easier.

For reference:

--- tasksel-1.1/tasksel.c       Tue Apr 24 16:35:07 2001
+++ tasksel-1.2aj/tasksel.c     Wed May  9 02:56:26 2001
@@ -176,6 +176,21 @@
   tasklist = tasks_enumerate(&tasks);
+  if (noninteractive) {
+    for (;optind < argc; optind++) {
+      /* mark task argv[optind] for install, if it exists */
+      int i;
+      for (i = 0; i < tasks.count; i++) {
+        if (strcmp(tasklist[i]->name, argv[optind]) == 0) break;
+      }
+      if (i == tasks.count) {
+        printf("E: %s: no such task\n", argv[optind]);
+      } else {
+        tasklist[i]->selected = 1;
+      }
+    }
+  }
   if (r == 0) {
     r = doinstall(tasklist, tasks.count,
                  pkglist, (installreqd || installimp || installstd 

Getting a nice command line, rather than just the simplest to implement
is left as an exercise to the interested reader.


Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

``_Any_ increase in interface difficulty, in exchange for a benefit you
  do not understand, cannot perceive, or don't care about, is too much.''
                      -- John S. Novak, III (The Humblest Man on the Net)

Attachment: pgpyE6c6lbAYl.pgp
Description: PGP signature

Reply to: