Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Azure support breaks Solaris compatibility #6324
I have zero interest in Azure, and this is breaking my SmartOS hosted environment. Is there a way to disable Azure support in Hugo at compile time?
Currently, no. But we should at least make sure to turn it off for unsupported platforms.
You're the first Hugo user on Solaris I've heard of. I thought we had a bug in file watching on Solaris (in
@bep Yes, it helps me feel special and unique that way :-)
The fsnotify issue fsnotify/fsnotify#196 is not a problem, I've been running Hugo on SmartOS since I converted over from WP two years ago. Then again I don't use Hugo in watch mode.
Would you be OK if I restructured deploy/deploy.go with build tags so Go Cloud Azure BLOB support isn't built on Solaris? There's no actual code, the Azure support is entirely done as a side-effect of importing the module, just as with database/sql DB-specific drivers, so it could be as simple as adding a deploy/deploy_azure.go that imports the module and has