Opened 6 years ago

Closed 5 years 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 by neteler, 6 years ago

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 by neteler, 6 years ago

Milestone: 7.4.17.4.2

comment:3 by neteler, 5 years ago

Milestone: 7.4.27.4.3

Ticket retargeted after milestone closed

comment:4 by martinl, 5 years ago

Milestone: 7.4.37.4.4

Bump milestone to 7.4.4

comment:5 by neteler, 5 years ago

Milestone: 7.4.47.4.5

Ticket retargeted after milestone closed

comment:6 by veroandreo, 5 years ago

Milestone: 7.4.57.8.0

comment:7 by annakrat, 5 years ago

In 74376:

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

comment:8 by annakrat, 5 years ago

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

comment:9 by veroandreo, 5 years ago

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

Backport?

comment:10 by annakrat, 5 years ago

In 74412:

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

comment:11 by annakrat, 5 years ago

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