Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Pretzel plugins list / distribution #226

Open
laedit opened this issue Mar 11, 2015 · 7 comments
Open

Pretzel plugins list / distribution #226

laedit opened this issue Mar 11, 2015 · 7 comments

Comments

@laedit
Copy link
Member

laedit commented Mar 11, 2015

So Pretzel has the ability to use plugins now, and people ultimately will start to creates some, like @AndreyAkinshin for Categories and Tags pages.

In order to share those plugins I think we need at least to list the known plugins on a wiki page, and maybe provide some way to download a plugin and install it in the right folder through a pretzel command.

@shiftkey, @JakeGinnivan what are your thoughts about this?

@AndreyAkinshin
Copy link
Contributor

@laedit, it is a great idea, I like it.

@JakeGinnivan
Copy link
Member

Sounds good. Maybe via Nuget or something?

Also, is it worth looking at #217. That could make writing plugins much more lightweight

@laedit
Copy link
Member Author

laedit commented Mar 12, 2015

Yeah, but I think that both plugin type (dll or scriptcs) needs an easy way to dowload/install.
Nuget can do the trick, I need to study that, thanks for the idea :)

@thoemmi
Copy link
Contributor

thoemmi commented Jun 23, 2015

I'd like to write an plugin or two (e.g. porting redirect_from). I can't find a Pretzel (or Pretzel.Logic) NuGet package. How are potential plugin authors expected to write a plugin?

@laedit
Copy link
Member Author

laedit commented Jun 29, 2015

Pretzel is available only through Chocolatey or GitHub Releases.
You only need to reference the exe directly from your plugin project.
But when I'll have the time to release the next version of Pretzel you'll have the possibility to create a plugin with scriptcs and in that case there is no need to reference the exe.
I plan to write some doc about the extensibility but I haven't the time lately.

@thoemmi
Copy link
Contributor

thoemmi commented Jun 29, 2015

I wrote two "classic" plugins implementing the ITransform interface, Pretzel.RedirectFrom and Pretzel.Sitemap, and I had to add pretzel.exe to the repositories instead of referencing a nuget package. 😕

I wasn't able to setup working unit tests for my projects because several assemblies are merged into Pretzel. Maybe Scriptcs is a better way for writing plugins. I'll have a look at the sources to understand it, otherwise I'll wait for your documentation 😉

@laedit
Copy link
Member Author

laedit commented Jun 29, 2015

It's not ideal but I don't know if it's worth it to make a Nuget package only for plugins.
But yeah, ScriptCs is a very cool way for writing plugins 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants