-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure support breaks Solaris compatibility #6324
Comments
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 /cc @vangent |
It looks like the Azure library is working on this already: |
@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 |
@fazalmajid sure, I'll merge that. We can possibly revisit this later at some point. I have had my share of Solaris (Sun) use myself in my work life, and I liked it a lot. |
Azure/azure-storage-blob-go#117 was merged on 23 June 2020. Can anyone confirm that this issue is resolved? |
I can confirm I can build Hugo@latest on my SmartOS (Illumos) box, using Go 1.20.6. I'm not seeing Azure packages in the log, however, only a bunch of AWS and Google ones. To be frank, I use build tags to avoid the cloud provider libraries bloat in my Hugo builds, even if I host on AWS CloudFront. I use rclone to push instead and a small custome binary to invalidate the cache. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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?
The text was updated successfully, but these errors were encountered: