Menu

#344 Add "Properties" dialog for files (cvs admin -k)

WinCvs
open
WinCvs (366)
4
2004-11-10
2004-06-22
No

Continuing an idea from #909575...

CVSNT has extended the keyword options concept far
beyond the common binary/text distinction and
influencing the expansion behaviour of keywords. On top
of that it could by now be used to do such diverse
things as:
- enable unicode or even custom character encodings
- enable binary delta storage
- enable compressed delta storage
- enforce LF line endings
- enforce Reserved Edits (!)

I think these options should be available for all
commands that accept a -k option (including Import -
though I can see that this might get a bit complicated
- but it's necessary). This would replace the current
fixed list combo boxes with a simple freeform history
combo with an elipsis button next to it (similar to
CVSROOT/Module/Tag entries) which would bring up a
dialog with all the available options (initialized from
the previous entry if available). Also see my comments
on #909575 for more suggested behavioural details on
that dialog.

Furthermore, it should be possible to change (at least
some of) those options on existing files (i.e. using
cvs admin -k underneath). For this purpose the UI
described above should also be available as a
standalone dialog via the context menu and/or a toolbar
button. This should also work on multiple selections,
though probably only when the selected files all have
the same k-opt.

Taking into account the above list of available
options/flags, I think this dialog could well be
captioned "Properties" (and located on the "File"
menu), maybe even using the common icon for that (i.e.
the list with the pointing hand), as used by Windows
Explorer and such.
To complete that analogy maybe we could even include
some read-only info in that dialog that is otherwise
not immediately available (yet), e.g. (just off the top
of my head):
- all those columns people occasionally ask for (e.g.
file size, local modification timestamp, file type
description, etc.)
- RCS file name (as could be derived from
./CVS/Repository + Filename)
- originating CVSROOT (although I really think this
belongs on the Status bar instead - see #684718)
- etc.

Discussion

  • Oliver Giesen

    Oliver Giesen - 2004-06-23

    Logged In: YES
    user_id=158827

    Now I come to think of it, there could even be a "Security"
    tab on that dialog (at least for folders) which reflects the
    output of the cvs lsacl command and writes back via cvs
    chacl... just brainstorming...

     
  • Jerzy Kaczorowski

    Logged In: YES
    user_id=119527

    Hm, this is like multiple RFE actually...

    Summarizing:

    1. Need to modify the keyword substitution entry to cater for
    all new options

    2. New dialog to change the above.

    3. "Properties" dialog for file details - already implemented.

    4. RCS filename etc. - I think it can't really be done in the
    light of upcomming rename command. Perhaps we need some
    GUI for "status" command output.

    5. Security commands interface.

     
  • Jerzy Kaczorowski

    • labels: --> WinCvs
    • milestone: --> WinCvs
    • priority: 5 --> 6
    • assigned_to: nobody --> jerzyk
     
  • Oliver Giesen

    Oliver Giesen - 2004-08-18

    Logged In: YES
    user_id=158827

    > 1. Need to modify the keyword substitution entry to
    > cater for all new options

    I would regard this as the current top-priority item. With
    -kc available Reserved Edits could finally become the killer
    feature people have been waiting for ever since Locks were
    deprecated while still "staying true to the CVS spirit"...

    > 2. New dialog to change the above.

    Note: according to some recent checkin comments on the
    cvsnt-commits list, Tony is currently in the process of
    deprecating cvs admin -k. No idea how he's planning to
    supersede it but best not to put too much effort into this
    part of the request yet - at least keep it generic.

    > 3. "Properties" dialog for file details - already implemented.

    Erm, well, yes... about 5% of what I had in mind... ;)

    > Perhaps we need some GUI for "status" command output.

    We definitely do. But that's most certainly beyond the scope
    of this tracker item...

    You forgot:

    6. Integrate new keyword functionality into Import filters
    dialog as well.

     
  • Jerzy Kaczorowski

    • priority: 6 --> 4
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.