bugGNU Octave - Bugs: bug #56542, pkg: new subcommands to open...

 
 

bug #56542: pkg: new subcommands to open package related pages in a web browser

Submitter:  Mike Miller <mtmiller>
Submitted:  Mon 24 Jun 2019 06:56:29 PM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 26 Jun 2019 04:54:36 PM UTC, comment #3: 

One more option would be to create a single new subcommand, such as 'pkg web', and leave the names of the keywords completely up to each package maintainer's discretion. Examples

  • pkg web bugs
  • pkg web wiki
  • pkg web github
  • pkg web homepage
  • pkg web hg
  • pkg web donate


Mike Miller <mtmiller>
Group Member
Tue 25 Jun 2019 09:43:15 PM UTC, comment #2: 

Updating the subject. I think this same bug could be used to add a number of additional well-defined keywords for package metadata. Some examples of what I am thinking of:

  • pkg repo - open the package repository web page
  • pkg wiki - open the package wiki
  • pkg web or pkg homepage - open the package home page, may be same or different from the repository
  • pkg bug or pkg issue - open the bug or issue tracker for the package
  • pkg faq - open the package FAQ documentation or wiki
  • pkg doc or pkg manual - open a web hosted version of the package documentation


The common factor is these are all simple commands that pass a URL to the Octave 'web' command, and the URL can be stored as a field in the package DESCRIPTION file. The task remaining is to enumerate what new command names we want to support and what the corresponding DESCRIPTION field names should be.

Mike Miller <mtmiller>
Group Member
Mon 24 Jun 2019 07:00:00 PM UTC, comment #1: 

I think I like `pkg repo` or `pkg repository` (maybe accept both?) to open or return the package repository URL. And the DESCRIPTION field could be named `Repsitory`, or maybe `Vcs-Browser` if we want to follow in Debian's footsteps.

Mike Miller <mtmiller>
Group Member
Mon 24 Jun 2019 06:56:29 PM UTC, original submission:  

After a user installs an Octave package, it would be nice if Octave provided a way for the user to be directed to the upstream git or hg repository where development takes place. This will give the user access to the development docs, bug tracker, and so on.

This would be very simple to implement, just a new field in the package DESCRIPTION that pkg looks for, and a new `pkg` subcommand that passes that URL on to the `web` command.

1.  What should the new subcommand be named?
2.  What should the DESCRIPTION field be named?

Mike Miller <mtmiller>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only group members can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2019-06-25 mtmiller Summarypkg: new subcommand to open package git or hg repo in a web browser pkg: new subcommands to open package related pages in a web browser
2019-06-24 mtmiller Carbon-CopyRemoved 80942 -

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code