World: r3wp
[!REBOL3 Host Kit]
older newer | first last |
Carl 28-Oct-2010 [586] | Revision control, test suites, rapid/daily builds, easy downloading of results. |
Andreas 28-Oct-2010 [587x3] | And whatever you want to call it, the process is simple: you have a single code base, version controlled. Upon every change to this code base, you automatically build and test on all supported platforms. |
Yes, exactly. But not "rapid" or "daily" builds, automated builds. | |
Without human intervention. You commit a piece of code, and automagically 7 machines pick up the changes and start building. | |
Carl 28-Oct-2010 [590x2] | Continuous integration is really a separate dimension from automation. |
We've been doing that since 1999. | |
Andreas 28-Oct-2010 [592] | Build automation and test automation is one integral part of modern CI. |
Maxim 28-Oct-2010 [593] | carl, I have to go now... take a peek at the private messages... I'll pick up later. |
Carl 28-Oct-2010 [594x2] | M: ok |
BTW, Jeff Kreis (at REBOL) wrote the system we used for full cross platform networked automated builds. | |
Andreas 28-Oct-2010 [596] | Time to get that going again for R3. |
Carl 28-Oct-2010 [597x3] | You're probably right. |
Back then we did it internally and used our own method. But, by now, there must be some external method that will work, right? | |
Some of that was the goal of DevBase... but there are only so many hours in a day. | |
Andreas 28-Oct-2010 [600] | It's all doable. |
Carl 28-Oct-2010 [601] | The other important issue is that easy rollback (revert) is required. |
Andreas 28-Oct-2010 [602] | And if we don't reinvent the wheel at every step, it'll probably be done sooner rather than later. |
Carl 28-Oct-2010 [603x2] | I don't think we need to invent anything for this part of it. |
E.g. we still use makefiles... works fine. | |
Andreas 28-Oct-2010 [605x3] | The first step is having the sources version controlled. |
And DevBase would not be my first choice for that ... | |
And as you obviously want to maintain the closed-source nature of libr3, that step will already require a bit of work. | |
Carl 28-Oct-2010 [608] | WRT the tools, we go down this road every year or so... but what happens is that no good solution is found. However, I remain open minded. |
Andreas 28-Oct-2010 [609x3] | Concretely: let's assume you have your internal sources in Subversion or Git. |
Then the first step would be to create a post-commit hook (a script that runs on every commit), that exports your internal sources into the externally visible sources. | |
Those "externally visible sources" are what I consider to be the hostkit. | |
Carl 28-Oct-2010 [612] | Andreas, we should probably switch to a different group to keep all this together... is there a group already on this? |
Andreas 28-Oct-2010 [613x2] | Don't think so. |
(And yes, we probably should.) | |
Carl 28-Oct-2010 [615] | Ok, making it now. |
ssolie 28-Oct-2010 [616] | hey there.. any Qs for me? |
Cyphre 29-Oct-2010 [617] | ssolie: ok, I'll make the changes over the weekend and let you know |
ssolie 29-Oct-2010 [618] | Cyphre: thanks! I look forward to testing this out with freetype. |
ssolie 31-Oct-2010 [619] | what would be the simplest code to open a window in r3? the window doesn't have to have anything in it |
Kaj 1-Nov-2010 [620] | From the REBOL side? view [] I guess |
GrahamC 1-Nov-2010 [621] | you might get a wee tiny window though |
Kaj 1-Nov-2010 [622x2] | Doesn't have to have anything in it |
I think Steven just wants to fire a window creation sequence in the host | |
ssolie 1-Nov-2010 [624x3] | I found some code to make the gob and then view it which is working fine for my testing now |
win: make gob! [text: "Test Window" offset: 100x100 size: 300x200] | |
view/as-is win | |
Kaj 1-Nov-2010 [627] | Ah yes, you need it without using VID, of course |
ssolie 1-Nov-2010 [628x2] | that was the tricky part for me |
still getting used to rebol here.. :) | |
Cyphre 1-Nov-2010 [630] | ssolie: the really 'bare-bone' sequence to show window is: show append system/view/screen-gob make gob! [text: "Test Window" offset: 50x50 size: 200x200] wait system/view/event-port |
Pekr 1-Nov-2010 [631] | So the Amiga is first from non mainstream OSes. Which one do we choose next? Any mobile OS takers here? :-) |
GrahamC 1-Nov-2010 [632x2] | We have several users asking for Android |
unless they've given up waiting | |
BrianH 1-Nov-2010 [634] | I have not given up waiting. Part of the reason I got an Android phone in the first place was to port R3 to it :) |
Carl 1-Nov-2010 [635] | They allow C libs now. So, if someone wants to make the host-kit work on Andoid, it might be a quick port. |
older newer | first last |