如何发布一个简单的程序

发布于 2024-08-24 01:16:46 字数 374 浏览 12 评论 0原文

发布简单软件的最佳实践是什么?假设我创建了一个非常小的简单且有用的程序或工具,并希望通过将其上传到我的网站来与大家分享。

  1. 我需要许可证吗?哪一个? (我阅读了 http://www.gnu.org/http://www.fsf.org/ 但仍然无法决定 - 它们太多了。)
  2. 我是否需要在某个地方放置版权和创建“版权”字符串的基本原则是什么?
  3. 如何让要下载并安装我的程序的用户相信我的程序不包含病毒或恶意代码?

What is the best practice for releasing a simple software? Suppose I created a very small simple and useful program or a tool and would like to share it with everyone by uploading it to my web-site.

  1. Do I need a license and which one? (I read http://www.gnu.org/ and http://www.fsf.org/ but still cannot decide - there are too many of them.)
  2. Do I need to put somewhere a copyright and what is the basic principles of creating "Copyright" string?
  3. How can I make a user, who is going to download and install my program, to believe that my program doesn't contain viruses or a malicious code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

赠佳期 2024-08-31 01:16:46

由于这是一个“非常小的简单且有用的程序”(例如,有人可以轻松地重新创建它),我不会太担心细节并选择 简单许可证,您可以将其包含在每个文件顶部的大约 20 行中:

版权所有 (c) <年份> <版权持有者>

特此向任何获得副本的人免费授予许可
本软件和相关文档文件(“软件”)的,以处理
不受限制地使用软件,包括但不限于权利
使用、复制、修改、合并、发布、分发、再许可和/或出售
该软件的副本,并允许该软件的使用者
可以这样做,但须满足以下条件:

上述版权声明和本许可声明应包含在
软件的所有副本或重要部分。

本软件按“原样”提供,不提供任何形式的明示或保证
默示的保证,包括但不限于适销性保证,
适用于特定目的且不侵权。在任何情况下都不得
作者或版权所有者对任何索赔、损害或其他责任负责
责任,无论是合同诉讼、侵权诉讼还是其他诉讼,均由以下原因引起:
与本软件无关或与之相关,或者与本软件相关的使用或其他交易
软件。

对于悲观的用户来说,你确实没有什么可以说的来让他们相信它不包含病毒,我什至不会详细说明这一点。使用病毒扫描程序扫描文件,如果需要,只需说明您使用的是哪一个,仅此而已。提供源代码以便其他人可以阅读、理解和编译自己应该可以减轻大多数用户对您故意破坏他们的担忧。 (即使人们没有真正阅读源代码,这也是有效的,因为大多数人都是信任的。)

Since this is a "very small simple and useful program" (e.g. someone could recreate it easily), I would not worry too much about the details and choose a simple license, something you can include in about 20 lines at the top of every file:

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

There's really nothing you can say to the pessimistic user to convince them it doesn't contain a virus, and I would not even go into detail about that. Scan the file with a virus scanner and simply state which one you used, if you want, but nothing more. Providing the source code so someone can read, understand, and compile themselves should alleviate most users' concerns about you intentionally trying to sabotage them. (And this works even without people actually reading the source, because most people are trusting.)

迷你仙 2024-08-31 01:16:46

这些答案只是我自己的观点,而不是一些广泛建立的最佳实践。

  1. 请选择宽松的自由软件许可证之一< /a>,例如 BSD 许可证,它们简短、简单,正如名称所示,宽容的。
  2. Copyright 2010 Your Legal Name 应该足够了 - 我会将其作为注释放在所有源文件和“制作人员名单”/帮助菜单/GUI 的任何内容中。也在那里放置一个指向许可证的指针。
  3. 这就是用户使用防病毒软件的目的:) - 也许将您的软件托管在一些信誉良好的网站(如sourceforge)上,而不是在可疑的网站(如rapidshare)上。另外,仅仅发布你的源代码就暗示了这一点(因为任何人都可以自己查看)

These answers are just my own opinions, not some widely established best practices

  1. Go for one of the permissive free software licenses, such as BSD license, they are short, simple and as the name states, permissive.
  2. Copyright 2010 Your Legal Name should be enough - I would put it as a comment in all source files and in "credits screen" / help menu / whatever of the GUI. Also put a pointer to the license there too.
  3. That is what the user uses antivirus for :) - perhaps host your software on some reputable site (like sourceforge), not on a suspicious site (like rapidshare). Also, just releasing your source code hints this (as anyone can take a look and see for themselves)
梦里°也失望 2024-08-31 01:16:46

如果您想将其开源,则需要许可证。如果是这样,许可证将指定版权,并且通过发布源代码,用户可以放心,它不包含病毒。

如果您不开源该应用程序,只需将其上传到这些共享软件网站之一(download.com、tucows.com) - 他们将负责扫描病毒。

You need a license if you want to make it open source. If so, the license will specify a copyright, and by publishing the source code users can feel safe that it doesn't contain a virus.

If you don't open source the app, just upload it to one of those shareware sites (download.com, tucows.com) - they will take care of scanning for viruses.

苏辞 2024-08-31 01:16:46

如果您使用任何类型的 .NET 语言,属性文件中会有一个发布选项这里你可以指定FTP位置,它会自动做足够的分配系统。

此外,您可以让程序检查是否有更新(如果有)已发布,并且它将在每次运行之前开发版本。查看该属性的版权和支持 URL 以及什么不是字段。对于版权问题,如果您想要重新分发,请检查知识共享,但是一旦您将那个神奇的 c 放在圆圈中,这就是您拥有 IP 版权所需要做的一切,据我所知,无需任何申请。

If you are using any kind of .NET language there is a publish option in the properties file where you can specify the FTP location, and it automatically does a sufficient enough distribution system.

Also, you can have the program check for updates if any has been released, and it will develop the release before each run. Look trough that properties thing for copyright and support URL and what not fields. For the copyright thing, check Creative Commons if you want redistribution, but as soon as you put that magic c in circle thing, that's all you have to do to have copyright of your IP and no applications are necessary as far as I know.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文