You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/var/lib/gems/2.7.0/gems/vendorer-0.2.0/lib/vendorer.rb:111:in `copy_from_path': 'dist/data' not found in https://github.com/openhistoricalmap/iD (RuntimeError)
@tomay FYI once DevSeed sorts out #475, we're then going to re-encounter this issue, where it's all that clear how we can deploy our latest iD for testing.
Come to think of it, this is something you could help sort out while we await the login fix -- because right now, we need to see whether we can deploy an iD branch other than release into the Rails app locally for testing. There must be a way, but I ran into troubles as noted in this ticket.
When I looked upstream to how mainline iD is released, things got more complex, and really we're not even talking about a release here, but just the ability to test updates to iD inside the Rails application
It looks like the dist/ artifacts in the release branch were added in this commit. I'm not sure what the process for doing that was, but it is possible to add gitignored files to a commit with git add --force
not sure that's the right syntax, but the idea would be to reference the OHM iD repository one directory up on your local system, instead the remote one checked into GitHub
It looks like the dist/ artifacts in the release branch were added in this commit.
This appears to be part of the release process. I was unaware of this step when suggesting that we upgrade to a release tag. Ideally we’d merge in that commit’s parent commit instead.
After upstream changes broke login function on our local dev environment, we have been struggling mightily to get that working again, as documented at OpenHistoricalMap/ohm-deploy#189. Meanwhile, impatient to get this iD update deployed, I went ahead and :
Activity
danrademacher commentedon Nov 2, 2022
@tomay FYI once DevSeed sorts out #475, we're then going to re-encounter this issue, where it's all that clear how we can deploy our latest iD for testing.
Come to think of it, this is something you could help sort out while we await the login fix -- because right now, we need to see whether we can deploy an iD branch other than
releaseinto the Rails app locally for testing. There must be a way, but I ran into troubles as noted in this ticket.When I looked upstream to how mainline iD is released, things got more complex, and really we're not even talking about a release here, but just the ability to test updates to iD inside the Rails application
tomay commentedon Nov 3, 2022
It looks like the
dist/artifacts in thereleasebranch were added in this commit. I'm not sure what the process for doing that was, but it is possible to add gitignored files to a commit withgit add --forcetomay commentedon Nov 3, 2022
I wonder if in the Vendorfile we could reference a local copy of the iD we are testing, where we have build artifacts, something like
instead of
not sure that's the right syntax, but the idea would be to reference the OHM iD repository one directory up on your local system, instead the remote one checked into GitHub
1ec5 commentedon Nov 3, 2022
This appears to be part of the release process. I was unaware of this step when suggesting that we upgrade to a release tag. Ideally we’d merge in that commit’s parent commit instead.
danrademacher commentedon Nov 23, 2022
After upstream changes broke login function on our local dev environment, we have been struggling mightily to get that working again, as documented at OpenHistoricalMap/ohm-deploy#189. Meanwhile, impatient to get this iD update deployed, I went ahead and :
stagingat iD OpenHistoricalMap/iD@05ebef1,ohm-website:stagingat thestagingbranch of iD, OpenHistoricalMap/ohm-website@58fcafcAlas, it did not work.
New iD is live at staging.openhistoricalmap.org, but the API calls for data are malformed with “undefined” in the middle https://staging.openhistoricalmap.org/undefined/api/0.6/map.json?bbox=-1.4941406249999953,52.92215137976296,-1.4886474609374956,52.92546307943839. When I run iD locally on its own, those same calls look like https://www.openhistoricalmap.org/api/0.6/map.json?bbox=-122.332763671875,47.59875528481802,-122.32727050781249,47.6024592954631 so somehow in the Rails app, something is broken and adding
undefined/to the API url…