Comments (5)
My view is that if a patch were to be submitted that used different bindings I'd accept it, but otherwise it works as-is and I wouldn't go out of my way to change just for cross-compilation.
I won't close, but I'll label appropriately.
from puppet-summary.
I got a build to cross-compile after a lot of fiddling with CGO. I'll put in a PR with some documentation on how to make it work. It's not super-pretty, but probably works. (I mean, it worked for me).
from puppet-summary.
For my own reference I looked into this again yesterday because I wanted to auto-build an i386
binary, as well as the amd64
one.
Turns out I'd misunderstood the nature of the bug report. What I thought was "These bindings don't allow for cross-compilation, please use a different sqlite binding". The actual bug here is that sqlite doesn't allow cross-compilation easily, because it is a native package.
So a solution here is not just "Find better/different bindings" it is "Don't use SQLite". I had a brief look at ql
and boltdb
. It might be that I'll have to switch to one/other of them, or something similar. The sticking point will be getting the queries we want working.
from puppet-summary.
from puppet-summary.
I've not looked horribly in-depth, but I think there are probably three different ways to go:
- Try to rework things to use cznic/ql, which is 100% golang.
- Try to rework it to use boltdb/leveldb.
- Try to rework it to use Redis.
The first is perhaps the best, but failing that the last has its appeal. Moving from a relational database to key/val would be a lot of work, redis would let us store things in sets/hashes which makes it easier, but still non-trivial.
from puppet-summary.
Related Issues (20)
- Feature Request, tab for environments HOT 1
- Pruning/auto-pruning not working due to locked database HOT 2
- Issue: Node count doesn't increase when new nodes come online. HOT 8
- Performance issues in initial display HOT 1
- Add static-check analysis to the test-script,. HOT 1
- Add screenshots, remove sample link.
- Do not depend on external sites HOT 3
- Feature Request: Certificate request manual approvals
- stale environments in drop down for environments HOT 18
- max limit on node report display is 50? HOT 3
- static font files are 404 HOT 1
- add a donation link to readme HOT 2
- search results are not sortable HOT 3
- Add option to delete database record if status is unchanged and yaml_file is pruned HOT 1
- puppet-summary fails on CentOS 7 due to too old glibc HOT 1
- debian 11 - go install - nothing happens HOT 1
- Improve build instructions HOT 1
- How to listen on any IP address HOT 3
- systemd service file HOT 4
- Improve visibility of bars HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-summary.