Page 1 of 1

How to contribute to development?

Posted: Fri Oct 28, 2016 9:13 am
by WedgeSparda
Hi, evilhero. First of all, thank you so much for Mylar. Is a great tool.

I've been using Mylar for almost a month and I found some bugs, but tool is great despite of that. I'm a developer from Spain and couldn't help to get the source code and try to fix a annoying bug I found (and reported here) and even created a PR for that.

But I would like to know if there is a more efficient way to help you on development. I'm new with Python (I have worked with several web languages and now I'm working as an iOS dev) but I would like to contribute in some way to the development of Mylar.

So, do you need any help? Is there any tasks on your development roadmap that you can delegate to others?

Thanks.

Re: How to contribute to development?

Posted: Fri Oct 28, 2016 2:18 pm
by evilhero
WedgeSparda wrote:Hi, evilhero. First of all, thank you so much for Mylar. Is a great tool.

I've been using Mylar for almost a month and I found some bugs, but tool is great despite of that. I'm a developer from Spain and couldn't help to get the source code and try to fix a annoying bug I found (and reported here) and even created a PR for that.

But I would like to know if there is a more efficient way to help you on development. I'm new with Python (I have worked with several web languages and now I'm working as an iOS dev) but I would like to contribute in some way to the development of Mylar.

So, do you need any help? Is there any tasks on your development roadmap that you can delegate to others?

Thanks.
First, thanks for the comps. Second, thanks for the PR again :)

The only reason thus far why it hasn't been merged into development is basically just me and my free time. I merge the PR's into my local repo, and do testing and then when I'm confident that it's working I push out the PR to the dev branch for more testing by everyone. I think with story arcs I tend to be really careful, just because of how intricate alot of the linking is. While it seems the PR you did doesn't break anything, in the back of my head I know there was a reason why I was using that particular field for mapping that data (aside from the same issue appearing in more than one arc, which I don't think is even an issue with the ArcID being used as the key).

And of course I need help ;) Its just been mainly me coding Mylar aside from a few awesome people doing PR requests to help fill the void that I couldn't get to (usually in a timely manner, but nonetheless they helped!).

One thing I've always said I needed help with is the graphical part - I have literally very basic knowledge of html/css and especially ajax. I get things working, but it takes me awhile to figure things out in some cases. So updating the existing theme, or even new themes (I know that this would be really difficult given how much reliance there is on the current theme with variable names being included within, but taking them out and making it a more generic-type of default template would help as well). I've always wanted to have a bookshelf type of view on the main page for loading images along with some really basic stats, instead of the data-table view that occurs now. I just could never figure out how to do a bookshelf view, while utilizing data-tables (which is probably part of the problem I realize).

Aside from that, if there's something you'd like done - a feature that you'd like or enhancement, the best bet is to inquire about the status of it (if it's being done or not, or contemplated), and then I would make sure not to do anything that would interfere with that while the PR was being done kinda thing.

I'm usually very open to adding PR's. As long as they don't break any existing functionality within Mylar, or make it take steps backwards when there's no reason to not go forward, they usually get merged. Again the merger depends alot on my free time.

Ask away though - I'd love for nothing more than to open up the repo for more than just me to be the manager of said repo and thereby share the workload, but unfortunately there hasn't been anyone that has provided the PR's that would be able to support that kind of workload (which again, is probably due to the PR problem).

Thanks for offering / helping :)

Re: How to contribute to development?

Posted: Fri Oct 28, 2016 2:29 pm
by WedgeSparda
My pleasure :)

Don't worry about my PR. Like you said, I made a modification and maybe (almost for sure) it would give problem somewhere else. You are the only one who can see the big picture and decide if that can backfire and broke something else.

Now that you mentioned, I can check the web interface looking for visual snags and try to fix them. I spent some time making web front-development and maybe I can help. About the bookshelf display, I can check that too and see if something can come up.

Thanks again for your work.

Re: How to contribute to development?

Posted: Sun Nov 26, 2017 12:32 am
by j5bot
I'm also interested in contributing to development but new to python. I believe I can follow what the code is doing but there must be something I'm missing.

I am trying to add support for multiple torznab providers and the first step of adding a new config flag to config.ini, config.py, webserve.py and render with ${config['enable_extra_torznab']} (excuse if that is not exact syntax i am writing this away from the computer) is not working. I am trying to copy everything exactly from existing config flags and when I search the code base I can't find anywhere else that looks like need modifications. attempts to get output of the flag value with logger.fdebug calls leave nothing in the logs exposed by the GUI.

I will actually fork later tonight if I have time, if for no other reason than that this is frustrating the sh*t out of me.

I'm a developer that specializes in front end and full stack/architecture so if I could scrape together time it is possible that I could help you accomplish your vision for how Mylar should look.

Generally speaking any page that has dynamic data in it is usually turned into a service that provides only that data and then a front end app that consumes that data and renders DOM content. Which is to say that it really doesn't matter how things output right now, they can be transformed and remapped, etc

Re: How to contribute to development?

Posted: Sun Nov 26, 2017 6:44 am
by j5bot
Never mind about the troubles adding a config field ... I managed it.

Re: How to contribute to development?

Posted: Wed Nov 29, 2017 4:20 pm
by evilhero
I'm always open to contributions / PR / general help with Mylar - never, ever think otherwise!

I do tend to merge PR's after a few days sometimes at most, generally because I either have a lot of stuff I'm working on and merging it would royally much things up for me - or I just didn't have the time to perform the test/merge yet (yes, I merge everything locally first, test and then push it up to try and minimize general errors if possible).

The one area I really lack in is the GUI side of things. My ajax/js/html isn't the greatest, and while I trod along doing things, I know there are far better ways to do things and probably easier - but I just don't know them.
There was a gent working on a complete overhaul of the GUI, and he had pushed some stuff into his branch and was working on stuff, but either he got busy with life or just lost interest (or perhaps Mylar had too many limitations in it's current form) - but the development on that is stalled atm. It was looking pretty slick though, especially with covers being displayed on the main page as opposed to straight text (and it was right quick loading). If you want to check out his repo (the bootstrap branch is the most recent) to see - it's here