Files
pgadmin4/update-vendor.sh
Antonio Larrosa c6f1712f1e - update to 9.2:
* supported database servers
    - postgresql: 13, 14, 15, 16 and 17
    - edb advanced server: 13, 14, 15, 16 and 17
  * bundled postgresql utilities
    - psql, pg_dump, pg_dumpall, pg_restore: 17.2
  * New features
    - Added an ability to configure the font family for SQL
      editors.
    - Added support to automatically open a file after it is
      downloaded in the desktop mode.
    - Added support for post-connection SQL execution, which will
      be run automatically on each connection made to any database
      of the server.
    - Add support for restoring plain SQL database dumps.
    - Added support for creating Directory nodes in EPAS.
    - Change icon buttons to show tooltip even when disabled.
    - Add an option to load/replace the servers.json file on each
      container startup.
    - Open user management in a separate tab instead of a dialog to
      enhance UI/UX.
  * Housekeeping
    - Added Security.md file.
  * Bug fixes
    - Ensure that modal dialogs are not triggered more than once to
      avoid duplicates.
    - Change session files garbage collection strategy.
    - Fixed an issue where pgAdmin should fallback to main screen
      if the last opened screen is disconnected.
    - Fixed an issue where the PSQL terminal displays keyname for

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgadmin4?expand=0&rev=77
2025-04-09 09:16:22 +00:00

33 lines
851 B
Bash

#!/bin/bash
#
# This script updates the vendor source package.
# It should be run in the developer system in each pgadmin version update
#
# -- Antonio Larrosa <alarrosa@suse.com>
#
version=`grep ^Version: *.spec | sed -e "s/^Version: *//"`
if [ -d pgadmin4-$version-build ]; then
echo "The directory pgadmin4-$version-build already exists. Please remove it in order to recreate it from scratch by running"
echo "rm -Rf pgadmin4-$version-build"
exit 1
fi
quilt setup pgadmin4.spec
pushd pgadmin4-$version-build/pgadmin4-$version/web
quilt push -a
# remove the last, which is fixups
quilt pop
echo "Generating new package-lock.json ..."
npm i --package-lock-only --legacy-peer-deps
mv package-lock.json ../../..
popd
echo "Fetching updated dependencies ..."
osc service mr
echo "Removed old deps:"
find -maxdepth 1 -name \*.tgz -print -delete