Project

General

Profile

Feature #206

Have implicit "current"

Added by Marc Mengel over 9 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
12/16/2009
Due date:
% Done:

0%

Estimated time:
Experiment:
Duration:

Description

Another feature from discussions with Ron R.

One of the things users find most confusing about ups is that there is no default version unless you declare something with a "current" chain.

We could make the rule, that if there is no "current" chain, the version with the newest declare date would be the default version, which would be pretty much what most naive users expect.

History

#1 Updated by Ron Rechenmacher over 9 years ago

I think if a single version is in the database, then the implicit current is OK.
If there are multiple versions without a current, we might want to have the
INFORMATIONAL message be more informational. Currently I get:

INFORMATIONAL: Product 'netbeans' (with qualifiers ''), has no current chain (or may not exist)

Actually, it seems it should only be an INFORMATIONAL msg (with different text) IF setup
is made to default a current (and setting it up)
otherwise it should be an ERROR with additionally saying that you have to specify a version
or "ups declare" a version current.

We should make the following NOT echo "yes" if nothing gets setup:
if setup netbeans;then echo yes;fi
currently, it does.

#2 Updated by Marc Mengel over 9 years ago

I was actually thinking that even with multiple versions installed, the newest one would be the default version, if no current was defined. Then there would be no informational message...

#3 Updated by Marc Mengel about 2 years ago

  • Target version set to z_Eventually


Also available in: Atom PDF