Closed
Bug 898463
Opened 13 years ago
Closed 12 years ago
[webmaker-suite] add noxmox to all suite apps for seemless offline "S3" work
Categories
(Webmaker Graveyard :: Webmaker-suite, defect)
Webmaker Graveyard
Webmaker-suite
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fuzzyfox, Assigned: michiel)
References
Details
(Whiteboard: s=20130729 p=1)
Attachments
(1 file, 1 obsolete file)
It would be great to have support for FakeS3 so that those without S3 auth details can run their own offline instances.
| Reporter | ||
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
| Reporter | ||
Comment 1•13 years ago
|
||
Hold tight on working on this if you haven't started. I'm working on a fix right now.
Assignee: nobody → pomax
Awesome to have you jump in: set me as a review? when you're happy with what you have, and I'll look it over! (for github pull requests, create an attachment and then paste the pull request link as text in both the big "file" textarea, as well as in the "description" text field. You can leave everything else as is, and then set review to "?" on me (just type :pomax and wait for bugzilla to suggest you the full bugzilla name/address)
| Reporter | ||
Comment 3•13 years ago
|
||
Pull request for review
Attachment #783019 -
Flags: review?(pomax)
Comment on attachment 783019 [details] [review]
https://github.com/Pomax/webmaker-suite/pull/6
code looks pretty good, the readme.md just needs some extra text where we talk about requirements to highlight that people will also need ruby (for running gem installs)
Attachment #783019 -
Flags: review?(pomax) → review-
| Reporter | ||
Comment 5•13 years ago
|
||
Readme updated. Missed that part :/
| Reporter | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
humph pointed out the https://npmjs.org/package/noxmox package, which might be worth using instead of fakes3 when apps start up in dev mode.
taking, as fuzzyfox will likely not have time to work on this for a few weeks.
Assignee: williamd → pomax
noxmox has a bug on win32 where it tries to write a tempfile to a dir in the root (forbidden by UAC), https://github.com/nephics/noxmox/issues/8 filed to raise that issue with the author.
https://github.com/nephics/noxmox/pull/10 filed to address the issues in noxmox
| Assignee | ||
Comment 10•12 years ago
|
||
Tester to see if we like how this works. If we do, I can add this into popcorn and goggles, too, and then move the mox-server into its own mini repo so that it can serve data for all three tools without needing to run three times.
Attachment #783019 -
Attachment is obsolete: true
Attachment #806312 -
Flags: review?(cade)
| Assignee | ||
Comment 11•12 years ago
|
||
using noxmox's "mox" for emulated S3 looks like a better solution than using fakes3, and slots quite easily into tools that already use knox for S3 interfacing. needinfo is mostly about whether this seems a sensible thing (I think so) and how we want to control whether it kicks in or not. Not all localhost work is offline work, so we might want a new env var a la S3_LOCALONLY=true, or perhaps even something completely different. Opinions welcome =)
Flags: needinfo?(david.humphrey)
Comment 12•12 years ago
|
||
Comment on attachment 806312 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/219
1. It looks like we force the use of mox when in development mode, I think it should be disabled if there are s3 credentials provided.
2. I can't test because there's no such file in the feature branch named "./lib/mox-server.js" :P
Attachment #806312 -
Flags: review?(cade) → review-
| Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 806312 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/219
made the "is mox necessary?" a new flag called S3_EMULATION=[true/false] so that being in dev mode doesn't automatically mean you're forced to emulate s3. Also fixed the mox-server requirement.
Attachment #806312 -
Flags: review- → review?(cade)
Comment 14•12 years ago
|
||
I think this is a good idea, see how they do this in webmaker-events: https://github.com/mozilla/webmaker-events/blob/master/lib/s3.js#L49
I think we should use it everywhere we do S3.
Flags: needinfo?(david.humphrey)
| Assignee | ||
Comment 15•12 years ago
|
||
Cade had the idea of making emulation also implicit to not providing S3 credentials. This is an excellent idea, and allows use to have empty-valued variables in env.dist/sample which is much cleaner than using dummy values that'd break a real S3 system. Updating the patch to work this in.
| Assignee | ||
Comment 16•12 years ago
|
||
patch updated; if S3_EMULATION is false or left off, but S3_KEY has no value, then the app will run in emulated S3 mode
Summary: [webmaker-suite] no support for fakes3 → [webmaker-suite] add noxmox emulated S3 to the suite apps for seemless offline "S3" work
Comment 17•12 years ago
|
||
Comment on attachment 806312 [details] [review]
https://github.com/mozilla/thimble.webmaker.org/pull/219
Very nice. R+
Attachment #806312 -
Flags: review?(cade) → review+
Comment 18•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/thimble.webmaker.org
https://github.com/mozilla/thimble.webmaker.org/commit/f71a6b79d53dad7f00a19ab7d343e165df711c47
Merge pull request #219 from Pomax/bug898463
noxmox as S3 emulation
| Assignee | ||
Comment 19•12 years ago
|
||
morphing ticket to tracker ticket for the other projects.
Summary: [webmaker-suite] add noxmox emulated S3 to the suite apps for seemless offline "S3" work → [webmaker-suite] add noxmox to all suite apps for seemless offline "S3" work
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
| Assignee | ||
Comment 20•12 years ago
|
||
all tools updated. resolving for great justice.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•