One of the changes I’m making this year is to focus more on the parts of my life that matter the most to me and to ignore the parts that don’t matter as much. One of the areas of a lot of stress for me has been my obligation to my open source plugins for …
Tag: plugins
ChiliProject and Redmine Plugin Documentation
I’ve been creating Redmine and ChiliProject plugins since 2007 and over that time I’ve been refining the documentation I include in each and every plugin. Documentation is tough. You need to provide enough documentation so someone can install and use your plugins (legally) but keep it short enough so that people will actually read it. …
Questions about building Redmine or ChiliProject plugins?
I want to start writing down what I know about building plugins for Redmine and ChiliProject but I’ve been doing it for so long that I don’t remember what stupid mistakes I made while learning. So I want to “ask the audience”. What questions do you have or have you had when building plugins for …
Daily Refactor #5: Remove iteration by using Enumerable
Today is another simple refactoring to the BulkTimeEntry plugin’s helper. A common function is needing to sort one set of data into two different sets. The quick and dirty way is to just loop over each item in the set and build up the two sets yourself. But Ruby’s Arrays have another way… The Refactoring …
Daily Refactor #4: Extract Method in the BulkTimeEntriesHelper – options generator
Today Devver team showed me a new feature they added to their Caliper project, the flay code view. I liked it so much I used it on today’s BulkTimeEntry plugin refactoring. The Refactoring Flay is a tool that checks for duplicated Ruby code. The BulkTimeEntry plugin only showed one piece of code that was duplicated …