Comments (13)
@bit just a quick question. Are you using common test?
from relx.
@ericbmerritt We do, yes, for fe_api
and fire_engine
. The suites themselves are placed in the apps/APP/itest
directory and the applications' logs are in apps/APP/logs
.
from relx.
@ericbmerritt I had a chance to look into this more today. After deleting all the CT log files--which we've got stored in the app/*logs/ directories and of which we'd accumulated quite a bit--relx ran without issue.
from relx.
Brian,
Yes, that is the problem. But really, relx shouldn't be looking in those
directories. There is no reason to try to discover apps in the log dir and
its a rather common error. I am going to work on adding a patch that stops
this behaviour.
Eric
On Tue, Aug 20, 2013 at 12:59 PM, Brian L. Troutwine <
[email protected]> wrote:
@ericbmerritt https://github.com/ericbmerritt I had a chance to look
into this more today. After deleting all the CT log files--which we've got
stored in the app/*logs/ directories and of which we'd accumulated quite a
bit--relx ran without issue.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-22973112
.
from relx.
Neat; thank you. relx is also looking in .git
directories, for that matter.
from relx.
This is still an issue right? @ericbmerritt the plan should be to ignore certain directories, as opposed to only searching certain directories, right? Since we don't know what their name their deps dir, their apps dir, they may have multiple releases with different output directories in their project like github.com/extend/elevators.
from relx.
@ericbmerritt never got a reply on this?
from relx.
Well, the goal is that instead of searching everything in ./
we only look for specific relevant directories. deps
, ebin
, whatever the release output dir is. Though that has caused problems in and of itself.
from relx.
I guess we could just do apps
deps and
ebin` plus allowing defining additional paths in the config file.
from relx.
yea, for app discovery. Then release discovery can happen as it does. It
still needs to look in everything more or less. While skipping the log
dirs.
Maybe for app discovery it goes ebin
, deps
, apps
, lib
, lib dirs and
for release its release output dir
, _rel
, rel
, lib dirs
On Wed, Sep 18, 2013 at 10:01 AM, Tristan Sloughter <
[email protected]> wrote:
I guess we could just do apps deps andebin` plus allowing defining
additional paths in the config file.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-24681357
.
from relx.
@ericbmerritt I'm confused now actually. How/when is it looking in .git
? And there isn't anything we can change the issue with it looking in ./apps/*logs/
... And if it is looking in .git
that is a bug somewhere that should be easy to fix. We already limit where it looks for apps:
Apps = filename:join(Root, "apps"),
Lib = filename:join(Root, "lib"),
Deps = filename:join(Root, "deps"),
Ebin = filename:join(Root, "ebin"),
from relx.
Oh but for things like deps it will... Is that the issue? Do we want to filter the dirs we go to when we recurse into directories like ./deps
?
from relx.
Going to close this as #101 took care of it.
from relx.
Related Issues (20)
- The configuration registry key could not be read HOT 13
- Custom name of the start script HOT 1
- `init terminating in do_boot` error after adding _checkouts dependency.
- Replace of OS Variables enters endless loop if OS variable contains an ampersand HOT 1
- Rebar3 .app file pkg_name for hex and relx HOT 7
- Tar --output-dir error HOT 7
- extended_bin does not account for cookie being set in an extended vm.args HOT 2
- First "daemon" startup hangs if no cookie is specified HOT 2
- Bash error while running in a directory with space in the name HOT 4
- Outdated website
- Allow applications to provide alternative user-facing messages HOT 10
- Mode = prod + system_libs = false produces broken release
- "rebar3 as prod tar" overlay does not take effect HOT 1
- Some extended start script commands fail on Windows
- Proposal: Allow disabling extended start script commands HOT 1
- Changes made to sys.config.src are not taking effect under windows
- https://erlanger.slack.com/archives/C055DJA49/p1703153178619079
- relx_app_info:optional_applications/1 looks at wrong attribute HOT 1
- Make tar structure compatible with plain `release_handler` upgrades HOT 1
- Add fail_if_missing option
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 relx.