Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-24 Thread via GitHub


mattcasters commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825343770

   Created issue #3454 3454


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-24 Thread via GitHub


mattcasters commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825315546

   Thanks again for the background information Phil.  As a project Apache Hop 
doesn't really want to dictate a preferred way to set up, use or install.  At 
that same time, the people that built it, decided on some things in the past.  
Making Apache Hop doing a nested variable resolution here will surely help more 
than just you and open up more possibilities.
   I would personally limit the solution to this particular HOP_CONFIG_FOLDER 
resolution.  I'll create another issue to see how we can make nested variable 
resolution more generic and configurable across the platform.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825264541

   Just for some background, I am not a developer, I am an infrastructure 
person (I manage a large Oracle database installation). So my POV comes from 
what is the architecture, how would I deploy this, and what are the 
infrastructure lifecycle management implications. I am not so concerned with 
things like managing the development lifecycle - that's S.E.P. One big thing I 
try to use is 'single source of truth', and the corollary that things should 
only have one place where they are defined, and then that definition can be 
used by reference. If it changes in the architecture, it should only have to be 
changed once in the configuration, and everything else that references it Just 
Works(TM)
   
   So I am not trying to be unnecessarily antagonistic, I am just passionate 
about well designed and managed infrastructure. I am hopeful that one day HOP 
may have a place in that where I work. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825244714

   Cf
   
![image](https://github.com/apache/hop/assets/32562685/dd7370be-41c8-4de9-b0b5-7a7536b82652)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


mattcasters commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825240699

   Thanks for helping us with the reproduction of the issue Phil. It's been 
informative. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825236273

   so what you're telling me is HOP_CONFIG_FOLDER should only contain one file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


mattcasters commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825234689

   Just to clarify further Phil, we absolutely do not recommend that you use 
the default configuration. But, I guess it's great that we now know how you got 
to your setup.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825224112

   Ahem...
   
   [apache@apchop01 config]$ pwd
   /u01/app/hop/product/hop-client-2.6.0/config
   [apache@apchop01 config]$ ls
   hop-config.json  projects
   [apache@apchop01 config]$ ls projects
   default  samples
   
   [apache@apchop01 config]$ pwd
   /u01/app/hop/admin/config
   [apache@apchop01 config]$ ls
   hop-config.json  metadata  projects
   [apache@apchop01 config]$ ls projects/
   default  oracle  samples
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


mattcasters commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1825158969

   It's just a strange design you made, one we didn't encounter yet.  That's 
all really, Phil.  Most people would keep configuration and project metadata 
separate in the light of putting both in separate version control repositories. 
   We didn't say we wouldn't fix it. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1824966429

   "Project home does not support variables."
   
   so, if I move my HOP_CONFIG_FOLDER, which includes all my project homes, 
instead of just changing the value of HOP_CONFIG_FOLDER, and having it Just 
Work(TM), I also have to go through and change all the values of PROJECT_HOME, 
because it isn't smart enough to resolve the HOP_CONFIG_FOLDER variable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-23 Thread via GitHub


hansva commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1824321323

   Aha, I was able to reproduce now.
   
   I was missing 1 small part of your puzzle. which seems to be the root cause 
of all your problems.
   
   Project home does not support variables. Or at least on expansion, it is 
unable to replace the nested parameter
   ${PROJECT_HOME} expands to ${HOP_CONFIG_FOLDER}/projects/oracle and then the 
${HOP_CONFIG_FOLDER} is not replaced by the value.
   
   When pressing the **new** button it tries to go to ${PROJECT_HOME} it can't 
find the file location and we have a fallback in place to go to PWD if 
locations are not found and this ends up in your weird path.
   
   In the file dialog when pressing the "P" button in the top left button it 
should go to your project root, but this also fails.
   
   As for your comment on Select, yes the dialog remembers the last known 
location and goes there by default. The starting point used to be project root 
always. but we had complaints from users that were working in a folder that 
they always had to browse there. So now we remember the last location and use 
that as starting point. We have buttons in the top left to go to user home or 
project root.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-22 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1823594238

   Note, also
 "projectName" : "oracle",
 **"projectHome" : "${HOP_CONFIG_FOLDER}/projects/oracle",**
 "configFilename" : "project-config.json"
   } ],
   "lifecycleEnvironments" : [ {
 "name" : "XE",
 "purpose" : "Development",
 "projectName" : "oracle",
 "configurationFiles" : [ 
"**${PROJECT_HOME}**/environments/XE-config.json", 
"**${PROJECT_HOME}**/environments/XE-passwd.json" ]
   }, {
 "name" : "ORCL",
 "purpose" : "Production",
 "projectName" : "oracle",
 "configurationFiles" : [ 
"**${PROJECT_HOME}**/environments/ORCL-config.json", 
"**${PROJECT_HOME}**/environments/COMMON-config.json" ]
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-22 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1823590766

   for reference
   [apache@apchop01 ~]$ pwd
   /home/apache
   [apache@apchop01 ~]$ echo $HOP_CONFIG_FOLDER
   /u01/app/hop/admin/config
   [apache@apchop01 ~]$ /u01/app/hop/product/hop-client-2.6.0/hop-gui.sh
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-22 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1823590095

   somehow it seems to be remembering where it was last time, because when I 
hit 'Select' I got
   
![image](https://github.com/apache/hop/assets/32562685/abcc9121-c4e7-4583-9448-ebc8010d6a43)
   which the last path I used to save a pipeline
   But then, while I am here
   
![image](https://github.com/apache/hop/assets/32562685/0579a455-e1ed-48c4-b310-0d112ae83b2c)
   if I hit 'New', I get
   
![image](https://github.com/apache/hop/assets/32562685/c142aa05-25f5-4ad7-83f7-d007c2d86d31)
   and then if I hit 'Select' again, I get
   
![image](https://github.com/apache/hop/assets/32562685/07bd8275-e868-4a68-b400-37ffc1993758)
   
   So, simply doing it once isn't necessarily going to reproduce the problem 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-22 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1823578038

   @hansva No, it's all on Linux


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-22 Thread via GitHub


hansva commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1822356623

   No issue there for me.
   Do I see it correctly that your hop_config_directory points to a smb/windows 
share //u01 ?
   Because that might be the cause of all issues, we have known issues with UNC 
paths.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-21 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1821745117

   @hansva and what happens when you hit 'Select' on that file?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-21 Thread via GitHub


hansva commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1820779420

   That expansion also works on my system and it uses the correct variable 
value...
   ```
   hans@MacBook-Pro-2:~|⇒  echo $HOP_CONFIG_FOLDER
   /Users/hans/config
   ```
   
   
![image](https://github.com/apache/hop/assets/1140235/665ffda4-1ade-45a0-aea6-289fa5019c6c)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-21 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1820705173

   As far as I am aware, there is only one place it needs to be set - the 
user's environment before they launch the GUI, or the environment of the 
application server for Hop Web
   
https://hop.apache.org/manual/latest/installation-configuration.html#_the_environment_variables_to_set


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-20 Thread via GitHub


hansva commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1820365892

   Actually, I just tried this and variable replacement works.
   When defining a variable in hop-config.json it can be used in the 
environments dialog.
   Where did you specify your HOP_CONFIG_FOLDER?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-20 Thread via GitHub


hansva commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1820361506

   yup, this can stay open.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-20 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1819927455

   @sramazzina I think you have the wrong issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-20 Thread via GitHub


sramazzina commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1819291080

   @hansva looking at the last reference I think we can close this issue, isn't 
it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-14 Thread via GitHub


kranskydog commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1811544114

   It is trying to look for a file. How is it going to find the file if it is 
looking under the literal variable name, instead of the value of the variable?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug]: 'Open File' dialog when editing configuration files in Environment properties prepends CWD of client, doesn't resolve variables (hop)

2023-11-14 Thread via GitHub


mattcasters commented on issue #3324:
URL: https://github.com/apache/hop/issues/3324#issuecomment-1811045927

   So I guess this is a feature request to allow variables to be replaced in 
the Open File dialog?
   Should we retain the value somehow or just replace the expression with its 
value?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org