-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script changes having no effect #8
Comments
@McFateM Good question. I think we'll need to do some further testing. What isn't clear to me re syntax are the Specifically Lines 3 -9:
Not only do the variables give the appearance of being hardcoded there is a TO DO at the end. Me thinks we need to ensure this ticket gets into the next ISLE feature sprint or in the ISLE Phase II - Sprint for "cleanup". |
It is possible the appearance of hardcoding is simply setting |
@McFateM I think this appears to be build process only at this point in development but I'm not sure. When I review here: https://github.com/Islandora-Collaboration-Group/isle-apache/blob/7be53f841b8b8de2f202c60c19a0b6cb3b867ede/rootfs/etc/confd/conf.d/apache-isle-installer.toml This appears to overwrite settings in the Additionally though here: https://github.com/Islandora-Collaboration-Group/isle-apache/blob/7be53f841b8b8de2f202c60c19a0b6cb3b867ede/rootfs/etc/cont-init.d/01-confd-site-enable
This seems to suggest the actual mechanics of pulling your remote git repo are in place but that comment above is throwing me off. To be clear the code above would run everytime a) your apache container is started, created, restarted etc and the appropriate values within your |
@McFateM Could you post your script etc (obviously scrape out any not for public line items etc) It would be good to see if ISLE maintainers can replicate what is happening here. |
@g7morris Sorry I didn't respond sooner, the @marksandford tag had me confused (should be @McFateM). I think you are correct about the script being overwritten. Ben's instructions earlier were to use isle_islandora_installer.sh as a template of sorts, and initially I replaced it with grinnell_installer.sh, and that worked. But I have made so many changes to my installer script that I thought it better to take a different approach, namely to have the installer script check for numbered scripts that I drop into a new So, what I'm trying to do is introduce logic like this...
Basically, there's a new I'm a little concerned with how maintainers might address updates to ISLE-Drupal-Build-Tools in its current form. |
I'm on my phone, please forgive brevity and autocorrect doing it's thing. @McFateM this had me confused for a bit. There it a file in the templates folder for the install script. If you update that (but pay attention to the place where confd vars are pulled in) you should be able to modify all the things. In theory you may only need to update that file only, and you can leave the normal bash script empty. Let us know, add apologies for any confusion ;) |
@McFateM My apologies on the wrong tag. 3 times!! I'm the worst. Yes ultimately ISLE maintainers need to revisit this as we need to allow for more user customization. Additionally, some of the vsets are great when installing and tickering with Lastly with respect to the drush make scripts, I think a general review of what is in there should also be reviewed. A documented chart / matrix with columns of Drupal module versions plugins etc should be made. (this time I'm really tagging @marksandford ;) |
@McFateM I also think more of a "how to" should exist for folks other than "be careful" when updating a single file, this spartan approach for such an important installation and migration should be less IKEA and more Sharper Image. ;). This is not a critique of @br2490 's hard work more of laying down a challenge to documenters and ISLE maintainers to pick up the mantle and streamline this. |
@br2490 you are referring to this template? https://github.com/Islandora-Collaboration-Group/ISLE-Drupal-Build-Tools/blob/master/templates/isle_islandora_installer.sh.tpl I know you're on your phone just trying to help @McFateM pinpoint the resources. Also from line #7 of that file:
^ I like this and feel this should be the next direction ISLE maintainers go in for improving this process. |
OK, thanks for all the info guys. I see what had me so confused here, but I still worry that I've made LOTS of changes to the That's why I've started playing with the approach of only "adding" my customization into new files, without touching the existing stuff at all... sort of a "hook" approach. I am finding that is working nicely thus far, now that I understand what's happening to I think what I will do is continue on this path a bit farther using a I also like the notion of trying to address this part of ISLE in phase 2 if time/resources allow. At the very least, some additional "how-to" documentation around the build tools would be welcome. Thanks. |
I think I've found an approach I like, but working with this in the .env...
...is a real pain during development. Is there any way I can rewrite the ISLE_BUILD_TOOLS_REPO line to pull from a local repo? As it is, I make a change and I have to push it back to the named Github repo just to spin it up and test. |
This is baffling... I've forked this repo and modified my ISLE .env file to include:
So my environment points to my intended repo (the fork) and branch. I've made changes to this repo/branch by adding a new folder,
custom.d
and contents, as well as changes toisle_islandora_installer.sh
. When I spin up a newisle.localdomain
and drop into the Apache container I can see the newcustom.d
folder, but my changes toisle_islandora_installer.sh
are nowhere to be seen.I'm stumped. Anyone have a clue what might cause such a disconnect?
The text was updated successfully, but these errors were encountered: