xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 368f187c74e54052dbeeddfe9b5a533b155a62c2

Accept 301 as a valid HTTP code
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-03-08 20:57
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-03-08 20:57
Parent(s): a6fa7c067b29f2d3ae400e6cb9117d17225ce047
Signing key:
Tree: 87960d04b4dcd4cac029acfa599bf0ec8c5d6344
File Lines added Lines deleted
inc/wh/amazon.inc.php 2 1
File inc/wh/amazon.inc.php changed (mode: 100644) (index c8f3c4d..049f76b)
... ... function rg_amazon_req($a)
160 160 $_info = curl_getinfo($c); $_info = curl_getinfo($c);
161 161 rg_log_ml('Debug: ' . print_r($_info, TRUE)); rg_log_ml('Debug: ' . print_r($_info, TRUE));
162 162
163 if ($_info['http_code'] != 200) {
163 if (($_info['http_code'] != 200)
164 && ($_info['http_code'] != 301)) {
164 165 $ret['error'] = $r; $ret['error'] = $r;
165 166 break; break;
166 167 } }
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master