#11946 closed task (fixed)
Release version 0.4.2 as a checkpoint
Reported by: | Tetsuya Morimoto | Owned by: | Tetsuya Morimoto |
---|---|---|---|
Priority: | normal | Component: | AutocompleteUsersPlugin |
Severity: | normal | Keywords: | |
Cc: | Jun Omae, Ryan J Ollos | Trac Release: | 0.11 |
Description
According to #10172, 0.4.2 was supposed to include as follows.
However, I will release current trunk revision as 0.4.2. Because I'm new maintainer and I haven't known past background. So, this release is for comparison before I maintain AutocompleteUsers plugin.
In conclusion, 0.4.2 should include them.
Attachments (0)
Change History (24)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
I made 0.4.2 pacakge, and then did a test on Trac-0.11. I got an error when I input text into Cc: field.
TypeError: $.htmlFormat is not a function return $.htmlFormat('<div class="name">$1</div>', firstLine) +
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
I could reproduced #11750 bug to set script code into Preference->General->Full name: with previous code.
Test User <script>alert('hi!');</script>
comment:5 Changed 10 years ago by
Since htmlFormat
was not added to Trac until 0.12 ([trac 9822], trac:#9396), we could just copy the function to AutocompleteUsersPlugin and wrap the definition with if(!$.isFunction($.htmlFormat))
, as in adminenumlistplugin/trunk/adminenumlistplugin/htdocs/adminenumlist.js@12644:13#L8.
comment:10 follow-up: 11 Changed 10 years ago by
Yeah, that is what I had in mind. Looks good to me!
In case you weren't aware, there's a console.log
in the changeset, but maybe you planned to remove that before committing to trunk.
comment:11 Changed 10 years ago by
Replying to rjollos:
In case you weren't aware, there's a
console.log
in the changeset, but maybe you planned to remove that before committing to trunk.
Oh, thank you for commenting. I'm going to commit carefully :)
comment:14 Changed 10 years ago by
To release package to PyPI,
$ cd path/to/autocompleteusersplugin/trunk $ python setup.py egg_info -RDb "" sdist register upload
Now, we can install from PyPI with pip like this.
$ pip install TracAutocompleteUsersPlugin
comment:15 Changed 10 years ago by
to rjollos:
I will add you as a owner on PyPI if you have an account.
comment:17 follow-up: 24 Changed 10 years ago by
I had a typo commit message, 0.4.2-branch is created from r14109.
comment:18 Changed 10 years ago by
It's not a huge deal, but the 0.4.2 branch and maybe the released package will have the version 0.4.2dev: autocompleteusersplugin/branches/0.4.2/setup.cfg@14111:2.
comment:19 Changed 10 years ago by
Also, do we want to put that directory in tags
rather than branches
?
comment:20 Changed 10 years ago by
I see. We should remove tag_build = dev
on branches to install from source and maybe tags
is better ...
typo:
#6427 + #6444 + #7324 -> 0.4.2 (Trac 0.11+)correct: