Opened 20 months ago

Closed 5 months ago

#3478 closed defect (fixed)

g.extension does not work with bitbucket repo

Reported by: veroandreo Owned by: grass-dev@…
Priority: normal Milestone: 7.8.0
Component: Default Version: svn-trunk
Keywords: g.extension Cc:
CPU: Unspecified Platform: Linux

Description

Using G7:g.extension to install an addon from a bitbucket repo gives error. Here is the command and error:

g.extension extension=t.rast.in.gpm url=https://bitbucket.org/lrntct/t.rast.in.gpm
Fetching <http://t.rast.in.gpm> from
<https://bitbucket.org/lrntct/t.rast.in.gpm/get/default.zip> (be patient)...
ERROR: Extension <http://t.rast.in.gpm> not found

Change History (11)

comment:1 Changed 20 months ago by neteler

Confirmed. Opening the URL, I get

https://bitbucket.org/lrntct/t.rast.in.gpm/get/default.zip
Cannot resolve the cset

Seems that bitbucket has changed something which requires a change in g.extension?

comment:2 Changed 15 months ago by neteler

Milestone: 7.4.17.4.2

comment:3 Changed 11 months ago by neteler

Milestone: 7.4.27.4.3

Ticket retargeted after milestone closed

comment:4 Changed 9 months ago by martinl

Milestone: 7.4.37.4.4

Bump milestone to 7.4.4

comment:5 Changed 9 months ago by neteler

Milestone: 7.4.47.4.5

Ticket retargeted after milestone closed

comment:6 Changed 6 months ago by veroandreo

Milestone: 7.4.57.8.0

comment:7 Changed 5 months ago by annakrat

In 74376:

g.extension: fix bitbucket download, assumes master branch, see #3478

comment:8 Changed 5 months ago by annakrat

Please test, probably should be backported. Note that it will download zip always from master branch.

comment:9 Changed 5 months ago by veroandreo

It seems to work as expected now, extension successfully installed.

Backport?

comment:10 Changed 5 months ago by annakrat

In 74412:

g.extension: fix bitbucket download, assumes master branch, see #3478 (merge from trunk, r74376)

comment:11 Changed 5 months ago by annakrat

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.