Bug 195699

Summary: making make update works for both git only setup and git+svn setup
Product: Ports & Packages Reporter: clutton
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Some People CC: ak, pgollucci
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
/usr/port/Makefile none

Description clutton 2014-12-05 02:06:04 UTC
Created attachment 150215 [details]
/usr/port/Makefile

Currently make update from ports directory supports only git+svn scheme. The patch for this was added a long time ago. There weren't any git only servers.

Now there are some, and it would be nice to have «make update» which works accordingly.

Please test it before adding!!!

I've created this patch after reading some git docs, and it should work fine. As I understand the svn is some alien in git, and instead of doing full integration they keep it away somehow. So checking the .git/svn should be ok. But again, if you works with remotes different then origin this approach wouldn't work, something complicated needed then.

But again, it's better then nothing and for most set up it should be ok. And if there will be any blame I'll have a reason to do it more properly :)
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-04-13 11:29:37 UTC
A commit references this bug:

Author: mat
Date: Wed Apr 13 11:28:58 UTC 2016
New revision: 413203
URL: https://svnweb.freebsd.org/changeset/ports/413203

Log:
  Have make update work for a git only repository.

  PR:		195699
  Submitted by:	clutton zoho com
  Sponsored by:	Absolight

Changes:
  head/Makefile