Comments (11)
I believe the right answer is to change the default source where we fetch the XML files. It appears that Khronos maintains its GitHub repositories but not its SVN ones. Unfortunately it means pulling the files from more locations. The docs appear to be located in https://github.com/KhronosGroup/OpenGL-Refpages, and egl.xml appears to be located in https://github.com/KhronosGroup/EGL-Registry. Perhaps the easiest answer is to remove the download command and instead add documentation from where to fetch the files?
from glow.
I made support for GitHub basic auth.
from glow.
I rewrote main.go and download.go (link, branch OpenGL4.6) to fetch the XML files from GitHub but there is a problem with hourly rate limit. For unauthenticated requests, the rate limit is 60 requests per hour which is not enough to download all the files.
from glow.
We can make it a requirement to supply a github token to get the authenticated rate limit of 5000 per hour.
from glow.
I'm attempting to resolve this in #92.
from glow.
@errcw Did you see #91 before making #92? If so, can you explain in what ways do they differ?
from glow.
Alas, no. I commented on that review. I'll drop #92 once #91 goes in.
from glow.
When I try to download gl.xml, the empty file is returned. The cause of the error is the file size:
{
"message": "This API returns blobs up to 1 MB in size. The requested blob is too large to fetch via the API, but you can use the Git Data API to request blobs up to 100 MB in size.",
"errors": [
{
"resource": "Blob",
"field": "data",
"code": "too_large"
}
],
"documentation_url": "https://developer.github.com/v3/repos/contents/#get-contents"
}
Please check the pull request "Add support for download of files larger than 1 MB.".
from glow.
Is this issue resolved by #91 and #94 (which have been merged by now)?
from glow.
Yes. You can close the issue.
from glow.
We should download and commit the latest XML from the new source to fully resolve this issue. Reopening for that.
from glow.
Related Issues (20)
- go 1.4 compile time increased? HOT 8
- Is it viable to use glow to generate an interface with multiple backends? HOT 9
- Three actions remaining to complete early 2015 overhaul plan. HOT 10
- More idiomatic bindings HOT 4
- error generating package HOT 4
- Code that uses unsafe.Pointer to convert an integer-typed value held in memory into a pointer is illegal and must be rewritten HOT 6
- Pointer checks in Go 1.6 HOT 2
- Generating EGL bindings fails HOT 7
- Vulkan API support? HOT 2
- Multiple extensions?!
- vulkan support? HOT 5
- Lack of extensions in the core profile HOT 10
- Unmaintained project? HOT 2
- Make constants typed HOT 5
- Use static keyword on GlowGetProcAddress instead of unique suffix.
- Unable to generate binding. Authorization Failed HOT 2
- Undeclared constants related to glext.h and glcorearb.h HOT 1
- Add VertexAttribIPointerWithOffset function HOT 2
- Add DrawElementsInstancedWithOffset function
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 glow.