bugGNU Health - Bugs: bug #61956, TRYTON_BASE_URL cannot access

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61956: TRYTON_BASE_URL cannot access

Submitter:  Feng Shu <tumashu>
Submitted:  Sat 29 Jan 2022 12:40:52 AM UTC
   
 
Category:  Installation Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Module:  health Component:  None

Sat 29 Jan 2022 06:39:52 AM UTC, comment #2: 

I think the below bash script can download newest trytond-account package.

CMD="pip download --no-binary=:all: --no-deps"
MODULE=trytond-account
MODULE_MAJOR_VERSION=6
VERSION=$(${CMD} ${MODULE}=='' 2>&1 | egrep -e "${MODULE_MAJOR_VERSION}.0.[0-9]*" -o | sort -V | tail -1)
${CMD} ${MODULE}==${VERSION}

Feng Shu <tumashu>
Sat 29 Jan 2022 06:38:00 AM UTC, comment #1: 


> 2. Idea2: Add a downloader with pip, so we can download tryton packages from pip. we have many very fast pip mirrors.
>
>     pip download --no-binary=:all: --no-deps tryton==6



> CMD="pip download --no-binary=:all: --no-deps"
> MODULE=trytond-account
> MODULE_MAJOR_VERSION=6
> VERSION=$(${CMD} ${MODULE}=='' 2>&1 | egrep -e "${MODULE_MAJOR_VERSION}.0.[0-9]*" -o | sort -V | tail -1)
> ${CMD} ${MODULE}==${VERSION}


Feng Shu <tumashu>
Sat 29 Jan 2022 12:40:52 AM UTC, original submission:  

Recent days,  I frequently reinstall gnuhealth to test new commit.
but I faced an annoy problem, TRYTON_BASE_URL can not access in my machine, maybe because it include string "cdn".
I do not like to edit gnuhealth-setup, so I suggest some possible idea:

1. Idea1: Add --tryton-base-url argument or global variable GNUHEALTH-TRYTON-BASE-URL,  so I can use it like:

      ./gnuhealth-setup install --tryton-base-url=/path/to/tryton-packages/
      ./gnuhealth-setup install --tryton-base-url=https://other-tryton-mirror.org

2. Idea2: Add a downloader with pip, so we can download tryton packages from pip. we have many very fast pip mirrors.

    pip download --no-binary=:all: --no-deps tryton==6

Feng Shu <tumashu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tumashu (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code