#3097: Discourse trac SAC email subjects are too long
----------------------+------------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin | Keywords: discourse, email
----------------------+------------------------------
For testing, I subscribed to the discourse SAC category and got a tons of
emails looking like this:
- [OSGeo] [System Administration Committee/SAC tickets] [SAC] [OSGeo]
#893: [new icons] Icons for vector processing tools in QGIS
- [OSGeo] [System Administration Committee/SAC tickets] [SAC] [OSGeo]
#1369: Register osgeo.org.ua
- [OSGeo] [System Administration Committee/SAC tickets] [OSGeo] #3094:
Unable to add members to a project
- ...
There's a bit of duplication in the subject - and to spell out SAC is
probably not needed 
If anyone knows how to set the the discourse generated subjects properly
I'd be grateful.
Thanks
Markus
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3097>
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Changes (by robe):
* component: SysAdmin => SysAdmin/Discourse
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by robe):
I promoted you to discourse admin @neteler so you should be able to see
more. Not sure where the setting is myself if there is one.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by robe):
I reduced the main sac category to SAC, so that should reduce the subject
line a bit. I haven't investigated to see how to get rid of parent
category from the subject line.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by neteler):
Replying to [comment:2 robe]:
> I promoted you to discourse admin @neteler so you should be able to see
more. Not sure where the setting is myself if there is one.
Thanks much, I'll try to find the settings.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by jsanz):
Yeah this is bad
[[Image(https://i.imgur.com/WXdcK4V.png)]]
Some thoughts from left to right :_)
* Would it be acceptable to try to change the global setting in Discourse
to shorten the first part of the mail so it is just `[OSGeo]` instead of
`[OSGeo Discourse]`.
* New category name is better, but why not renaming the Discourse category
to just "Trac" so it becomes `SAC/Trac` or `SAC/Tickets`
* The last `[OSGeo]` bit comes from Trac so I understand we don't want to
change that since it would affect all components, right?
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by robe):
I'm fine with both. The OSGeo Discourse I guess it's because I changed
the title, cause I got annoyed it saying OSGeo in some of the other things
(not the email).
I recall seeing a setting somewhere in admin panel for that, so maybe we
can just not use the title and hardcode the value there.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by robe):
I found the setting - it's in
https://discourse.osgeo.org/admin/site_settings/category/email
email subject:
which is currently set to:
[%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}
So I guess we can get rid of optional_pm (which I assume is for primary
category)
and also change [%{site_name}] to simply OSGeo. Or you think we even
need that?
Maybe the category is sufficient.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Changes (by robe):
* cc: strk (added)
Comment:
I'm also thinking maybe we don't need category as that would be part of
the list-header thingy attribute. @strk you have an opinion on this.
It's too bad we don't have this option per category that it's a global
setting. If there is a per category setting, I haven't found it.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by robe):
okay I changed it to
{{{
%{optional_cat}%{topic_title}
}}}
See how you like that.
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by neteler):
Your test message looks much better, great!
I'll watch out for more messages comin' in...
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3097#comment:10>
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Comment (by strk):
I'm ok with removing the category tag as email headers contain enough info
for any filter:
{{{
X-Discourse-Post-Id: 22015
X-Discourse-Topic-Id: 6547
X-Discourse-Category: SAC/SAC tickets
List-ID: OSGeo Discourse | SAC SAC tickets
<sac-tickets.sac.discourse.osgeo.org>
}}}
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+----------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: defect | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Discourse | Resolution:
Keywords: discourse, email |
--------------------------------+----------------------------
Changes (by strk):
* type: task => defect
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3097: Discourse trac SAC email subjects are too long
--------------------------------+---------------------------------------
Reporter: neteler | Owner: sac-tickets@…
Type: defect | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin/Discourse | Resolution: fixed
Keywords: discourse, email |
--------------------------------+---------------------------------------
Changes (by robe):
* milestone: Unplanned => Sysadmin Contract 2024-I
* resolution: => fixed
* status: new => closed
Comment:
I think we resolved this enough so going to close this out
--
Ticket URL: <#3097 (Discourse trac SAC email subjects are too long) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.