Opened 12 years ago
Closed 12 years ago
#10883 closed task (fixed)
Minor suggestions from testing and code review
Reported by: | Ryan J Ollos | Owned by: | Zack |
---|---|---|---|
Priority: | normal | Component: | TracComponentAliasPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
I've tested and code-reviewed the plugin, and will provide some suggested changes in a forthcoming patch. I can push the patch to the repository directly if you give approval.
Attachments (3)
Change History (7)
Changed 12 years ago by
Attachment: | ManagePluginsPanel.png added |
---|
Changed 12 years ago by
Attachment: | ErrorOnDelete.png added |
---|
comment:1 follow-up: 2 Changed 12 years ago by
comment:2 Changed 12 years ago by
Replying to rjollos:
I found the use of the term alias a bit confusing. Do you have a specific use-case for the plugin that might help clarify that?
Well, we create our components to match the svn project name, but the end user creating a ticket may not know which component they need to select. Now we offer a list of "applications" that they can choose from and that maps to a component. That is where this plugin does the mapping.
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'll go ahead and close this then, and just note that [12676] was the changeset in which the patch was applied.
I saw your changes in [13051], and would agree that using ITicketManipulator
rather than ITicketChangeListener
seems like the right thing to do here. Nice work.
Btw, trac-hacks supports t:CommitTicketUpdater, so you can automatically reference tickets in your commit messages if you'd like.
Here are some changes contained the patch:
ITicketManipulator
implementation.find_packages
insetup.py
.ITicketChangeListener.ticket_deleted
(see screen capture below).setup.py
to be more descriptive, since they are shown on the plugin admin panel (see screen capture below).I also edited the project wiki page slightly to try to clarify a few things.
#
isn't treated as a comment in the ini file, rather;
is.ticket-custom
configuration to the example.select
andradio
custom field types. Those are the only two custom field types that have anoptions
field: TracTicketsCustomFields#AvailableFieldTypesandOptions.0.12
tag from the wiki page. This was probably an artifact of when the plugin project was created.See changes here.
I found the use of the term alias a bit confusing. Do you have a specific use-case for the plugin that might help clarify that?