Evergreen ILS Website

IRC log for #evergreen, 2020-08-31

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
04:05 lisacarlucci joined #evergreen
04:05 abneiman joined #evergreen
04:05 phasefx joined #evergreen
04:05 lbarry joined #evergreen
04:05 jweston joined #evergreen
06:01 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
06:34 oleonard joined #evergreen
07:02 agoben joined #evergreen
07:29 rjackson_isl_hom joined #evergreen
07:54 collum joined #evergreen
08:10 collum_ joined #evergreen
08:17 rfrasur joined #evergreen
08:23 stephengwills joined #evergreen
08:35 stephengwills Can I get advice on web client development, please?
08:35 stephengwills I made a change to Open-ILS/src/eg2/src/app/s​taff/about.component.html
08:35 stephengwills I tried various ng build commands and moved the resulting files into the production area.
08:35 stephengwills Restarted websockets, osrf and apache etc.  I cannot see my change, simple as it is.
08:35 stephengwills What am I missing?
08:35 collum joined #evergreen
08:36 Dyrcona joined #evergreen
08:36 dguarrac joined #evergreen
08:45 dbwells joined #evergreen
08:45 mmorgan joined #evergreen
08:48 alynn26 joined #evergreen
08:48 dbwells joined #evergreen
08:49 mantis1 joined #evergreen
09:42 collum_ joined #evergreen
09:50 collum joined #evergreen
09:56 jvwoolf joined #evergreen
10:01 jvwoolf1 joined #evergreen
10:04 berick stephengwills: https://gist.github.com/berick/0​cada30cad2aa0d7591d2d6017169f0e
10:05 stephengwills thanks. I know I missed the en-US part
10:05 stephengwills will give it a go
10:11 Dyrcona Bleh. Upgrading Ubuntu with the pgdg repo. is kind of a pain.
10:12 berick yeah, gotta purge it and add it back :\
10:15 Dyrcona Yeah. I'm trying remove not purge.
10:18 JBoyer The whole thing? I thought only 1 package caused problems?
10:18 JBoyer (Still a pain, but slightly smaller maybe)
10:26 Dyrcona plperl was the one in the logs, but yeah, I removed all the pgdg packages.
10:36 Dyrcona I wish do-release-upgrade a sysmerge feature like FreeBSD and OpenBSD have. When there are configuration file differences, sysmerge is run and you can merge your local changes with the new file.
10:37 Dyrcona The only options I see are keep your own file and  install the package maintainer's version.
10:37 collum joined #evergreen
10:45 JBoyer I usually take the "drop to shell" option and then use vimdiff, but it could be a lot smarter, yeah. (And I'm *assuming* Ubuntu has the same open a shell option that Debian has in that situation)
10:45 Dyrcona It does.
10:46 Dyrcona Some packages also ope a ncurses window for this and have a "3-way merge" option, but it isn't a manual merge.
10:47 JBoyer yeah, I don't really trust the 3-way merge stuff in that case.
10:47 collum_ joined #evergreen
10:50 Dyrcona Yeahp. After viewing diffs, I installed the package maintainer's version of the Apache, nginx, and ejabberd configs. I kept my sshd_config.
10:50 Dyrcona I'll reconfigure apahce, ngins, and ejabberd anyway.
11:06 csharp @band add "dpkg reconfigure"
11:06 pinesol csharp: Band 'dpkg reconfigure' added to list
11:19 pinesol [evergreen|Mike Risher] lp1840329 Register Patron keyboard accessibility - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=d96d74e>
11:35 pinesol [evergreen|Jeff Davis] LP#1879993: use default value for opac.hold_notify when appropriate - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=931dbb4>
11:59 jihpringle joined #evergreen
12:04 stephengwills berick I have not seen any specific docs on this topic;  Is there a ‘Best Practice’ for customizing the web client that paralleles the custom directory for custom toolkit pages that will keep my hacks and blunders separate from angular evergreen ‘core’?
12:12 berick stephengwills: no docs yet, but we need to get some started.  for now, overrides entail modifying the core file -- much like you'd modify a perl module -- and ideally tracking those changes in a repository.
12:12 berick i suspect this will evolve somewhat in the near future, though
12:12 stephengwills ok, fair.
12:12 stephengwills thanks
12:22 Dyrcona stephengwills: The AngularJS web client works with templates in a custom template directory.
12:23 Dyrcona Unless you have more than 1 set of modifications, I'd recommend not bothering with a custom directory and just maintain your changes directly in git.
12:40 stephengwills ok. thanks.  I’m just thinking in terms of how one manages the merges.  (since, of course, I update our prod with every point release… **COUGH COUGH **)
12:40 stephengwills :)
12:41 Dyrcona git makes keeping up to date much easier.
12:41 stephengwills btw, has anything changes since v.1.4.3? ;-/
12:42 Dyrcona If you have a separate templates directory, you have to use some tricks to keep up to date. If you just keep your changes in a branch in the normal files, it's much simpler.
12:42 Dyrcona stephengwills: Um, no. Not much. :)
12:42 Dyrcona Speaking of changes, I didn't expect this after an upgrade: Node name mismatch: I'm [ejabberd@localhost], the database is owned by [ejabberd@training]
12:43 Dyrcona Guess I change just blow it away and register the users again.
12:43 Dyrcona s/change/can/
12:45 jeff On Debian, I usually set ERLANG_NODE in /etc/default/ejabberd to avoid the default behavior of the value changing when the hostname changes.
12:46 Dyrcona jeff: I'll do that instead of wiping out /var/lib/ejabberd/
12:46 berick yeah, tweaking /etc/default/ejabberd was my approach as well
12:48 Dyrcona jeff++
12:50 Dyrcona I'm gonna throw out a plug for GNU Emacs because it's emerge-files command is good for updating customized files in a separate directory with changes from the mainline files. :)
13:00 sandbergja joined #evergreen
13:10 Dyrcona OK. I upgraded the training server, and I can't login to the web client. I click the button and nothing appears to happen.
13:11 Dyrcona Hm... I thought nginx was proxying the SSL...
13:12 Dyrcona Oh, I know what I did wrong: I forgot to set the WEBSOCKET_PORT_SSL to 443 when I rebuilt OpenSRF.
13:22 JBoyer Hi sandbergja, I was looking at the course reserves branch and in the upgrade script there's a trigger created on biblio.record_entry that references a biblio.update_reserves_facet that's never defined. Is that function missing or is that trigger unnecessary?
13:30 stephengwills left #evergreen
13:31 jihpringle joined #evergreen
13:31 Dyrcona Now, to test a db upgrade from Pg 9.6 to Pg 12.
13:39 Dyrcona Oh, right. I have to upgrade 1 version at a time, don't I....
13:39 Dyrcona No.....I'm making typos. :)
13:41 Dyrcona Grr... I also forgot that "data" director is not the data directory, but the configuration directory.
13:41 Dyrcona Third times' the charm?
13:44 jvwoolf joined #evergreen
13:54 jihpringle joined #evergreen
14:18 nfBurton joined #evergreen
14:39 pinesol [evergreen|Jane Sandberg] Docs: correcting typos in release notes - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=3c40650>
14:45 csharp I always have to reference this page when I do pg_upgrade https://wiki.postgresql.org/wiki/​Using_pg_upgrade_on_Ubuntu/Debian
14:48 Dyrcona csharp: I usually reference the Pg docs, but I was doing it from memory today.
14:50 Dyrcona It will be fun doing this for production because I will have to make changes to the streaming replication configuration.
14:51 csharp I usually just re-create the replicas after I know the upgrade is good
14:52 Dyrcona Well, that's what I think I ended up doing last time, from 9.5 to 9.6, but the actual configuration files need to be modified for Pg 12.
14:52 csharp ah - right
14:52 csharp vimdiff to the rescue!
14:53 csharp or whatever the emacs version of that is :-)
14:53 Dyrcona ediff-* or emerge. but I usually just copy the files and make the changes in the copies.
14:54 Dyrcona I have local copies of the configs for the servers in {server}/etc/postgresql/{version}/{instance} directories like they appear on the server.
14:55 Dyrcona I'm not sure that there's any good examples for the streaming replication.
14:59 Dyrcona Bleh.... Now, I have to block 1 server so I can do a pg_restore. :)
15:08 Dyrcona And, Pg 13 should be out soon.
15:38 * berick updates irc client vm, ttfn
15:47 mantis1 left #evergreen
15:55 berick joined #evergreen
16:04 collum joined #evergreen
16:12 collum joined #evergreen
16:32 jihpringle joined #evergreen
17:49 mmorgan left #evergreen
18:01 pinesol News from qatests: Testing Success <http://testing.evergreen-ils.org/~live>
18:35 abowling1 joined #evergreen
19:32 jihpringle joined #evergreen
21:14 dbwells joined #evergreen
21:20 dbwells joined #evergreen

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat