#885 closed System Defect (fixed)

fetching system source fails gracefully but doesn't give correct information when source is already present

Reported by: joshms Owned by: kris
Priority: minor Milestone:
Component: System Configuration Version: 10-STABLE
Keywords: Cc: trac-bugs@…

Description

Pressing fetch system source in PC-BSD system configuration causes a simple failure but exits with "Downloading FreeBSD sources" Finished!

[josh@pcbsd-5876] /usr/home% sudo pc-sysmanager
(password)
Locale: "en"
("clone", "https://github.com/pcbsd/freebsd.git", "-b", "stable/10", "/usr/src")
"Portsnap Update: fatal: destination path '/usr/src' already exists and is not an empty directory."

Change History (2)

comment:1 Changed 11 months ago by malco_2001

I have noticed this also Josh. I have some code that I've been working on regarding fetching ports which will also use git. If I can get it working in the next few days "hopefully" I was going to try to set up the fetch source function the same way which should fix what you are seeing. It's been a bit of a learning process though so I'm not opposed if someone else needs to take it over if I can get it done fast enough.

comment:2 Changed 11 months ago by kenmoore

  • Resolution set to fixed
  • Status changed from new to closed

The overhauled system manager is now finished up.
It will now use GIT to pull the ports/source based on the work that malco_2001 sent in.

Note: See TracTickets for help on using tickets.