digitalmars.D - Does the dub registry at code.dlang.org have problems?
- Gary Willoughby (5/5) Jan 10 2014 Does the dub registry at code.dlang.org have problems?
- Jacob Carlborg (5/9) Jan 10 2014 I can see that x11 was added/updated yesterday. Note that projects with
- Gary Willoughby (3/13) Jan 10 2014 It's literally been added in the last hour and 'My Packages' is
- Gary Willoughby (9/19) Jan 10 2014 I also have another package waiting called 'tcltk' which hasn't
- Gary Willoughby (8/30) Jan 10 2014 Everything seems to be fine now. Whoever is responsible for
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (12/37) Jan 10 2014 This most probably indicates that the API request limit for GitHub was
- Brad Roberts (4/28) Jan 10 2014 OAuth is only needed if you need to perform actions as someone else. Ot...
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (3/6) Jan 11 2014 Good to know, I'll create a dummy account and test/implement that when I...
- Mike Parker (7/13) Jan 10 2014 To test dependencies and such, you should use 'dub add-local' with your
- Gary Willoughby (3/21) Jan 10 2014 This is really useful thanks. Even after doing this though we'll
- Andrej Mitrovic (9/12) Jan 10 2014 Hi,
- Gary Willoughby (3/18) Jan 10 2014 Awesome! i'm working on one too but approaching it in a different
- Gary Willoughby (3/18) Jan 10 2014 Actually, i'd be more than interested to learn how you support
- Paulo Pinto (2/20) Jan 10 2014 Tcl/Tk is also native on Windows, why the X11 question?
- Gary Willoughby (2/29) Jan 10 2014 Because the Tk headers also import the X11 headers.
- Paulo Pinto (6/30) Jan 10 2014 I used to be an heavy Tcl/Tk user on Windows NT/2000 during 1999 - 2001.
- Gary Willoughby (14/20) Jan 10 2014 Looking at tk.h i see this:
- Paulo Pinto (6/28) Jan 10 2014 Yes, but if you cared to look at the rest of the code, you would have
- Gary Willoughby (5/40) Jan 10 2014 I might be a bit tired here but i'm still not understanding what
- Gary Willoughby (16/51) Jan 11 2014 I understand that the X11 calls will be translated to the Win32
Does the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.
Jan 10 2014
On 2014-01-10 10:21, Gary Willoughby wrote:Does the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.I can see that x11 was added/updated yesterday. Note that projects with a version tag is sorted first. -- /Jacob Carlborg
Jan 10 2014
On Friday, 10 January 2014 at 09:27:39 UTC, Jacob Carlborg wrote:On 2014-01-10 10:21, Gary Willoughby wrote:It's literally been added in the last hour and 'My Packages' is now updated. That's over 12 hours of waiting.Does the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.I can see that x11 was added/updated yesterday. Note that projects with a version tag is sorted first.
Jan 10 2014
On Friday, 10 January 2014 at 09:27:39 UTC, Jacob Carlborg wrote:On 2014-01-10 10:21, Gary Willoughby wrote:I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error: Failed to get GIT tags/branches: Failed to get tags: Failed to read JSON from https://api.github.com/repos/nomad-software/x11/tags: Unexpected reply for 'https://api.github.com/repos/nomad-software/x11/tags': ForbiddenDoes the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.I can see that x11 was added/updated yesterday. Note that projects with a version tag is sorted first.
Jan 10 2014
On Friday, 10 January 2014 at 10:26:54 UTC, Gary Willoughby wrote:On Friday, 10 January 2014 at 09:27:39 UTC, Jacob Carlborg wrote:Everything seems to be fine now. Whoever is responsible for code.dlang.org please look into these issues. If we are going to use it as D's default package repository it needs to be bullet-proof and faster than it currently is. Waiting 14hrs+ for a package to be accepted or updated is quite frankly not good enough, especially if you are trying to test dependencies and resolve issues across packages. Thank you.On 2014-01-10 10:21, Gary Willoughby wrote:I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error: Failed to get GIT tags/branches: Failed to get tags: Failed to read JSON from https://api.github.com/repos/nomad-software/x11/tags: Unexpected reply for 'https://api.github.com/repos/nomad-software/x11/tags': ForbiddenDoes the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.I can see that x11 was added/updated yesterday. Note that projects with a version tag is sorted first.
Jan 10 2014
Am 10.01.2014 13:31, schrieb Gary Willoughby:On Friday, 10 January 2014 at 10:26:54 UTC, Gary Willoughby wrote:This most probably indicates that the API request limit for GitHub was reached. It will be reset on the next hour after that happens. The limit can be increased by registering code.dlang.org as a GitHub application, but that needs an OAuth client implementation first. Implementing a clear error message in this case would of course also be a good first step. Any contributions are welcome there!On Friday, 10 January 2014 at 09:27:39 UTC, Jacob Carlborg wrote:On 2014-01-10 10:21, Gary Willoughby wrote:I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error: Failed to get GIT tags/branches: Failed to get tags: Failed to read JSON from https://api.github.com/repos/nomad-software/x11/tags: Unexpected reply for 'https://api.github.com/repos/nomad-software/x11/tags': ForbiddenDoes the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.I can see that x11 was added/updated yesterday. Note that projects with a version tag is sorted first.Everything seems to be fine now. Whoever is responsible for code.dlang.org please look into these issues. If we are going to use it as D's default package repository it needs to be bullet-proof and faster than it currently is. Waiting 14hrs+ for a package to be accepted or updated is quite frankly not good enough, especially if you are trying to test dependencies and resolve issues across packages. Thank you.That it took so long was a bug, which unfortunately is hard to debug as the log output isn't verbose enough to show where it failed/hung - I'll increase the log level and look into it when/if it happens again. Normally, though, it will take a maximum of about 15 minutes, with the possibility of triggering a manual update to get an almost instant update.
Jan 10 2014
On 1/10/14 5:26 AM, Sönke Ludwig wrote:Am 10.01.2014 13:31, schrieb Gary Willoughby:OAuth is only needed if you need to perform actions as someone else. Otherwise your own account creds are sufficient to be able to do 5000 queries an hour rather than the unauth'ed limit of 60 an hour.On Friday, 10 January 2014 at 10:26:54 UTC, Gary Willoughby wrote:This most probably indicates that the API request limit for GitHub was reached. It will be reset on the next hour after that happens. The limit can be increased by registering code.dlang.org as a GitHub application, but that needs an OAuth client implementation first. Implementing a clear error message in this case would of course also be a good first step. Any contributions are welcome there!On Friday, 10 January 2014 at 09:27:39 UTC, Jacob Carlborg wrote:On 2014-01-10 10:21, Gary Willoughby wrote:I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error: Failed to get GIT tags/branches: Failed to get tags: Failed to read JSON from https://api.github.com/repos/nomad-software/x11/tags: Unexpected reply for 'https://api.github.com/repos/nomad-software/x11/tags': ForbiddenDoes the dub registry at code.dlang.org have problems? I registered two new packages yesterday and they are still not included in the registry. It's annoying that registering or updating existing packages take ages to be reflected on code.dlang.org.I can see that x11 was added/updated yesterday. Note that projects with a version tag is sorted first.
Jan 10 2014
Am 10.01.2014 19:18, schrieb Brad Roberts:OAuth is only needed if you need to perform actions as someone else. Otherwise your own account creds are sufficient to be able to do 5000 queries an hour rather than the unauth'ed limit of 60 an hour.Good to know, I'll create a dummy account and test/implement that when I get some time (and nobody beats me to it ;)
Jan 11 2014
On 1/10/2014 9:31 PM, Gary Willoughby wrote:Everything seems to be fine now. Whoever is responsible for code.dlang.org please look into these issues. If we are going to use it as D's default package repository it needs to be bullet-proof and faster than it currently is. Waiting 14hrs+ for a package to be accepted or updated is quite frankly not good enough, especially if you are trying to test dependencies and resolve issues across packages. Thank you.To test dependencies and such, you should use 'dub add-local' with your local copy of the source. I currently have a couple of dub-managed libraries I've been working on that I haven't even put on github yet and used add-local so that they're available to my test apps. That way you don't have to register anything with code.dlang.org until you're ready for release.
Jan 10 2014
On Friday, 10 January 2014 at 13:45:48 UTC, Mike Parker wrote:On 1/10/2014 9:31 PM, Gary Willoughby wrote:This is really useful thanks. Even after doing this though we'll still need to test in a live environment.Everything seems to be fine now. Whoever is responsible for code.dlang.org please look into these issues. If we are going to use it as D's default package repository it needs to be bullet-proof and faster than it currently is. Waiting 14hrs+ for a package to be accepted or updated is quite frankly not good enough, especially if you are trying to test dependencies and resolve issues across packages. Thank you.To test dependencies and such, you should use 'dub add-local' with your local copy of the source. I currently have a couple of dub-managed libraries I've been working on that I haven't even put on github yet and used add-local so that they're available to my test apps. That way you don't have to register anything with code.dlang.org until you're ready for release.
Jan 10 2014
On 1/10/14, Gary Willoughby <dev nomad.so> wrote:I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error:Hi, I have a D OOP Tk wrapper which I paused working on for a while since I had other plans at the moment. Currently it only works on Win32 (I didn't have the time to work on enabling it on other platforms yet) but it has lots of features and tests too: https://github.com/AndrejMitrovic/dtk/ I'm not home right now though (~ next 3 weeks), so I can only periodically check the e-mail every now and then.
Jan 10 2014
On Friday, 10 January 2014 at 12:47:54 UTC, Andrej Mitrovic wrote:On 1/10/14, Gary Willoughby <dev nomad.so> wrote:Awesome! i'm working on one too but approaching it in a different way and hopefully will be fully cross-platform.I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error:Hi, I have a D OOP Tk wrapper which I paused working on for a while since I had other plans at the moment. Currently it only works on Win32 (I didn't have the time to work on enabling it on other platforms yet) but it has lots of features and tests too: https://github.com/AndrejMitrovic/dtk/ I'm not home right now though (~ next 3 weeks), so I can only periodically check the e-mail every now and then.
Jan 10 2014
On Friday, 10 January 2014 at 12:47:54 UTC, Andrej Mitrovic wrote:On 1/10/14, Gary Willoughby <dev nomad.so> wrote:Actually, i'd be more than interested to learn how you support X11 (on which tcl/tk depends) on Windows?I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error:Hi, I have a D OOP Tk wrapper which I paused working on for a while since I had other plans at the moment. Currently it only works on Win32 (I didn't have the time to work on enabling it on other platforms yet) but it has lots of features and tests too: https://github.com/AndrejMitrovic/dtk/ I'm not home right now though (~ next 3 weeks), so I can only periodically check the e-mail every now and then.
Jan 10 2014
Am 10.01.2014 21:10, schrieb Gary Willoughby:On Friday, 10 January 2014 at 12:47:54 UTC, Andrej Mitrovic wrote:Tcl/Tk is also native on Windows, why the X11 question?On 1/10/14, Gary Willoughby <dev nomad.so> wrote:Actually, i'd be more than interested to learn how you support X11 (on which tcl/tk depends) on Windows?I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error:Hi, I have a D OOP Tk wrapper which I paused working on for a while since I had other plans at the moment. Currently it only works on Win32 (I didn't have the time to work on enabling it on other platforms yet) but it has lots of features and tests too: https://github.com/AndrejMitrovic/dtk/ I'm not home right now though (~ next 3 weeks), so I can only periodically check the e-mail every now and then.
Jan 10 2014
On Friday, 10 January 2014 at 20:31:04 UTC, Paulo Pinto wrote:Am 10.01.2014 21:10, schrieb Gary Willoughby:Because the Tk headers also import the X11 headers.On Friday, 10 January 2014 at 12:47:54 UTC, Andrej Mitrovic wrote:Tcl/Tk is also native on Windows, why the X11 question?On 1/10/14, Gary Willoughby <dev nomad.so> wrote:Actually, i'd be more than interested to learn how you support X11 (on which tcl/tk depends) on Windows?I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error:Hi, I have a D OOP Tk wrapper which I paused working on for a while since I had other plans at the moment. Currently it only works on Win32 (I didn't have the time to work on enabling it on other platforms yet) but it has lots of features and tests too: https://github.com/AndrejMitrovic/dtk/ I'm not home right now though (~ next 3 weeks), so I can only periodically check the e-mail every now and then.
Jan 10 2014
Am 10.01.2014 21:32, schrieb Gary Willoughby:On Friday, 10 January 2014 at 20:31:04 UTC, Paulo Pinto wrote:I used to be an heavy Tcl/Tk user on Windows NT/2000 during 1999 - 2001. Tk only imports X11 on UNIX platforms. http://core.tcl.tk/tk/tree?ci=tip -- PauloAm 10.01.2014 21:10, schrieb Gary Willoughby:Because the Tk headers also import the X11 headers.On Friday, 10 January 2014 at 12:47:54 UTC, Andrej Mitrovic wrote:Tcl/Tk is also native on Windows, why the X11 question?On 1/10/14, Gary Willoughby <dev nomad.so> wrote:Actually, i'd be more than interested to learn how you support X11 (on which tcl/tk depends) on Windows?I also have another package waiting called 'tcltk' which hasn't been added yet and now all my packages in the UI have the following error:Hi, I have a D OOP Tk wrapper which I paused working on for a while since I had other plans at the moment. Currently it only works on Win32 (I didn't have the time to work on enabling it on other platforms yet) but it has lots of features and tests too: https://github.com/AndrejMitrovic/dtk/ I'm not home right now though (~ next 3 weeks), so I can only periodically check the e-mail every now and then.
Jan 10 2014
On Friday, 10 January 2014 at 20:57:51 UTC, Paulo Pinto wrote:I used to be an heavy Tcl/Tk user on Windows NT/2000 during 1999 - 2001. Tk only imports X11 on UNIX platforms. http://core.tcl.tk/tk/tree?ci=tip -- PauloLooking at tk.h i see this: #ifndef _XLIB_H #endif Which intimates to me that all platforms include it? Then tkDecls.h uses types that the X11 headers define, e.g (XColor): EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, Tk_Canvas canvas, XColor *colorPtr);
Jan 10 2014
Am 10.01.2014 22:16, schrieb Gary Willoughby:On Friday, 10 January 2014 at 20:57:51 UTC, Paulo Pinto wrote:Yes, but if you cared to look at the rest of the code, you would have seen that those X11 calls are mapped to Win32 ones. Maybe I should have expressed myself better. -- PauloI used to be an heavy Tcl/Tk user on Windows NT/2000 during 1999 - 2001. Tk only imports X11 on UNIX platforms. http://core.tcl.tk/tk/tree?ci=tip -- PauloLooking at tk.h i see this: #ifndef _XLIB_H #endif Which intimates to me that all platforms include it? Then tkDecls.h uses types that the X11 headers define, e.g (XColor): EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, Tk_Canvas canvas, XColor *colorPtr);
Jan 10 2014
On Friday, 10 January 2014 at 22:07:41 UTC, Paulo Pinto wrote:Am 10.01.2014 22:16, schrieb Gary Willoughby:I might be a bit tired here but i'm still not understanding what you mean. In tk.h, X11 is included for all platform AFAICS and the X11 types are use for many cross-platform functions parameters.On Friday, 10 January 2014 at 20:57:51 UTC, Paulo Pinto wrote:Yes, but if you cared to look at the rest of the code, you would have seen that those X11 calls are mapped to Win32 ones. Maybe I should have expressed myself better. -- PauloI used to be an heavy Tcl/Tk user on Windows NT/2000 during 1999 - 2001. Tk only imports X11 on UNIX platforms. http://core.tcl.tk/tk/tree?ci=tip -- PauloLooking at tk.h i see this: #ifndef _XLIB_H #endif Which intimates to me that all platforms include it? Then tkDecls.h uses types that the X11 headers define, e.g (XColor): EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, Tk_Canvas canvas, XColor *colorPtr);
Jan 10 2014
On Friday, 10 January 2014 at 22:07:41 UTC, Paulo Pinto wrote:Am 10.01.2014 22:16, schrieb Gary Willoughby:I understand that the X11 calls will be translated to the Win32 Api on Windows in the Tk source but i was talking about the headers. I think i have found the problem. At first glance dub seems to dumbly compile *everything* in the source directory whether it's imported or not and in this case that's a problem. In a few of the X11 D source files, C macros are substituted using functions which call other X11 functions which the linker then cannot resolve. If i compile using the command line on Windows then only x.d and xlib.d are in fact compiled which have no calls to any X11 function so there are no linker errors regarding X11. Now i just need to understand linking tcl/tk on windows using the optlink linker but that's a new thread :) http://forum.dlang.org/thread/xbrciixzdwkoysnnymht forum.dlang.orgOn Friday, 10 January 2014 at 20:57:51 UTC, Paulo Pinto wrote:Yes, but if you cared to look at the rest of the code, you would have seen that those X11 calls are mapped to Win32 ones. Maybe I should have expressed myself better. -- PauloI used to be an heavy Tcl/Tk user on Windows NT/2000 during 1999 - 2001. Tk only imports X11 on UNIX platforms. http://core.tcl.tk/tk/tree?ci=tip -- PauloLooking at tk.h i see this: #ifndef _XLIB_H #endif Which intimates to me that all platforms include it? Then tkDecls.h uses types that the X11 headers define, e.g (XColor): EXTERN int Tk_CanvasPsColor(Tcl_Interp *interp, Tk_Canvas canvas, XColor *colorPtr);
Jan 11 2014