From owner-freebsd-ports@freebsd.org Mon Jun 4 20:15:00 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14A50FECFC5 for ; Mon, 4 Jun 2018 20:15:00 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9F8DA83CC6 for ; Mon, 4 Jun 2018 20:14:59 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5FEEBFECFB9; Mon, 4 Jun 2018 20:14:59 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BCF9FECFB8 for ; Mon, 4 Jun 2018 20:14:59 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id C6D2E83CC5 for ; Mon, 4 Jun 2018 20:14:58 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w54KEon7091231 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 4 Jun 2018 13:14:51 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132] claimed to be yv.noip.me Subject: Re: Visual Studio Code on FreeBSD / port request To: Miroslav Lachman <000.fbsd@quip.cz>, FreeBSD Ports References: <40ea4fed-f8a6-a727-0577-23a67fc2e616@quip.cz> From: Yuri Message-ID: <794af167-ca38-7fdf-6753-b9055de885a0@rawbw.com> Date: Mon, 4 Jun 2018 13:14:49 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <40ea4fed-f8a6-a727-0577-23a67fc2e616@quip.cz> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 20:15:00 -0000 On 06/04/18 06:51, Miroslav Lachman wrote: > Does somebody successfully run Visual Studio Code on FreeBSD? > https://github.com/Microsoft/vscode > I know my friends are running it on Ubuntu but I didn't found any > references how to run it on FreeBSD desktop. This function, for example, would fail for freebsd: https://github.com/Microsoft/vscode/blob/master/src/paths.js#L11 It is likely to be one among many others. No, npm-based projects can't be ported to FreeBSD. They download a lot of things under the hood, that can't be fingerprinted. Last time I tried, node projects are hit or miss: they depend on a lot of other projects that can be automatically updated any time. It might work one day, and not work the next day. It's also very insecure to run an unvetted code direct off of github. Somebody might add a rimraf('*') call as a matter of a mistake or a joke, and all your files will be eliminated, and you will never know who did it. npm/node is certainly a very volatile and insecure technology. Yuri