android-开源项目

by Linea Brink Andersen

通过Linea Brink Andersen

我如何摆脱对开源的恐惧,并开始了自己的项目-以及如何做到。 (How I crushed my fear of open source and started my own project — and how you can, too.)

A week ago, I started an Open Source project. I had never done a pull request or merged anything on GitHub. Suddenly I was an Open Source maintainer.

一周前,我开始了一个开源项目。 我从未在GitHub上执行过pull请求或合并任何东西。 突然我成为了开源维护者。

I had always wanted to contribute to Open Source. Every time I was looking for a project, I gave up. I was overwhelmed by the source code of a project, or it looked too complicated. I didn’t know whom to reach out to for information and help. I was doubting my skills, and convinced myself that my contributions wouldn’t be useful.

我一直想为开源做贡献。 每次寻找项目时,我都放弃了。 一个项目的源代码让我不知所措,或者它看起来太复杂了。 我不知道该向谁寻求信息和帮助。 我怀疑自己的技能,并说服自己,我的贡献不会有用。

It was ironic. I wanted to contribute to Open Source, to gain experience. But I felt that I needed more experience before I could start. It was an endless spiral, and I realized I needed to do something about it.

具有讽刺意味的。 我想为开源做贡献,以获取经验。 但是我觉得我需要更多的经验才能开始。 那是一个无休止的螺旋,我意识到我需要为此做些事情。

突破障碍 (Breaking through the barrier)

I wanted an Open Source project for beginners. I dreamed of a project where I could feel confident. Where other contributors were also learning to code, or contributed to help beginners. I figured out that there were probably other people like me looking for the same opportunity.

我想要一个适合初学者的开源项目。 我梦到一个能让我感到自信的项目。 其他贡献者也在学习编码的地方,或为帮助初学者做出了贡献。 我发现可能还有其他人像我一样在寻找同样的机会。

Then, it finally hit me. I could start an open source project myself. I spent 14 hours on it that day, and in the early morning I had a project on Github. Then I tweeted out for others to join me.

然后,它终于打击了我。 我可以自己启动一个开源项目。 那天我花了14个小时,在清晨,我在Github上做了一个项目。 然后我发了推文,邀请其他人加入我的行列。

If you have been curious about open source for a while, but haven’t gotten started, I encourage you to do the same. I have captured my process in this post. If you create the type of project you would feel good about contributing to, it will be much easier to get started. As an added bonus, you will help other people who have been hesitant to contribute for the same reasons as you. Try it out — you will learn a lot.

如果您有一段时间对开源感到好奇,但是还没有开始,我鼓励您也这样做。 我已经在这篇文章中捕获了我的过程。 如果您创建了自己喜欢的项目类型,那么上手起来会容易得多。 作为额外的奖励,您将帮助因与您相同的原因而犹豫的其他人做出贡献。 尝试一下-您将学到很多东西。

Side note: I said above I started my project in 14 hours. To be completely fair, I started on step 3 (see below) that day. I already had my idea, and I had written my baseline code a couple of weeks before. If you have some small project you have already started, you can use that. But if not, no worries, you do not need to do it in one day.

旁注:我上面说过,我在14小时内开始了我的项目。 公平地说,我从那天的第3步(见下文)开始。 我已经有了主意,并且在几周前就编写了基准代码。 如果您已经开始了一些小项目,则可以使用它。 但是,如果没有的话,不用担心,您不必在一天内进行。

So without further ado, here are my five steps to create your own Open Source project.

因此,事不宜迟,这里是我创建自己的开源项目的五个步骤。

第1步-了解想法 (Step 1 - Get an idea)

This might sound very hard, but it doesn’t have to be. After all, you only need the beginning of an idea. Your future contributors and potential users will be full of ideas to build on top of yours.

这听起来可能很难,但是不必如此。 毕竟,您只需要一个想法的开始。 您未来的贡献者和潜在用户将充满想法,可以在您的想法之上建立。

A lot of technologies like Google and YouTube started out very simple, and so should your project. Remind yourself that this is a learning experience. Your idea doesn’t have to feel like a genius invention. If you’re still stuck, maybe this silly site can help you.

Google和YouTube等许多技术起步非常简单 ,因此您的项目也应该如此。 提醒自己这是一种学习经历。 您的想法不一定非要是天才发明。 如果您仍然陷于困境,也许这个愚蠢的网站可以为您提供帮助。

第2步-创建基准 (Step 2 - Create a baseline)

It is easier to start collaborating if there is some minimal code to start from. It is up to you to decide how much code your project should include to begin with. But it will be easier for your contributors to begin if there are at least a few lines of code that they can modify or add to.

如果有一些最少的代码要开始,那么开始协作就比较容易。 您可以自行决定项目应包含多少代码。 但是,如果您的贡献者至少可以修改或添加几行代码,它们将更容易开始。

Don’t worry if your baseline seems too simple. This is exactly what you want. Other beginners will be able to contribute, because the project is simple and the code is easy to read.

如果您的基线看起来过于简单,请不要担心。 这正是您想要的。 其他的初学者将能够做出贡献,因为该项目很简单并且代码易于阅读。

第3步-设置您的存储库 (Step 3 - Set up your repository)

The repository is where it all happens. It is also where we beginners lack a bit of experience, compared to seasoned developers. Use your experience as an Open Source “newbie” to create a simple and encouraging project that other beginners can join.

仓库就是所有发生的地方。 与经验丰富的开发人员相比,这也是我们初学者缺乏经验的地方。 利用您作为开源“新手”的经验,创建一个简单而令人鼓舞的项目,其他初学者也可以参加。

You know exactly what was hard for you. Make sure that your project makes it easier. Create the type of project you wish you could have joined yourself.

您确切地知道您遇到了什么困难。 确保您的项目使其更容易。 创建您希望自己加入的项目类型。

When I was looking to join an Open Source project, I really wanted to ask the maintainers how I could contribute. I made sure that there was plenty of ways for people looking at my repository to reach out to me. I provided information on how to open an issue and introduce yourself. If someone does that, we can figure out together how they can start contributing.

当我打算加入一个开源项目时,我真的很想问维护者我该如何做。 我确保人们查看我的存储库有很多方法可以联系我。 我提供了有关如何打开问题并自我介绍的信息。 如果有人这样做,我们可以一起弄清楚他们如何开始贡献自己的力量。

There are people out there who have the same struggles as you. If you build your version of a welcoming open source project, they will have an easier time joining you. Together, you can learn and develop your project.

有些人和你一样挣扎。 如果您构建受欢迎的开源项目的版本,那么他们将更容易加入。 在一起,您可以学习和开发您的项目。

There are many guides on how to start a GitHub repository, for example here. Learning by doing is what works best for me.

有很多关于如何启动GitHub存储库的指南,例如here 。 做中学是最适合我的。

I followed free interactive guides on GitHub learning lab. If you are new to Github or want to brush up, you can start with an “Introduction to Github” as I did.

我遵循了GitHub学习实验室上的免费交互式指南。 如果您是Github的新手或想复习,可以像我一样从“ Github简介 ”开始。

Then move on to “Moving your project to Github”. This guide will walk you through setting up an Open Source repository step by step. Feel free to skip any step that you don’t think is relevant to your project, or that you want to save for later. When you finish, you can change the name of your repository, make it public, and voila! You have an open source project.

然后转到“ 将项目移至Github ”。 本指南将逐步指导您建立开放源代码存储库。 随意跳过您认为与您的项目无关或要保存以备后用的任何步骤。 完成后,您可以更改存储库的名称,将其公开,瞧! 您有一个开源项目。

Remember that open source doesn’t just mean a collaborative project. It also means having an open source license. The GitHub guide will help you in adding that to your repository, too.

请记住,开源不仅意味着协作项目。 这也意味着拥有开源许可证。 GitHub指南也将帮助您将其添加到存储库中。

第4步-邀请其他人与您合作 (Step 4 - Invite people to collaborate with you)

This was the step that scared me the most. I didn’t have any friends who were coding that I could invite to join my project. I had less than 20 followers on Twitter, so I wasn’t even sure my tweets would have much reach. But I tweeted out an invitation to join, and added some hashtags that I hoped would reach other beginners.

这是最让我害怕的步骤。 我没有编码的朋友可以邀请我加入我的项目。 我在Twitter上的追随者不到20个,所以我什至不确定我的推文是否会吸引很多人。 但是我发了一条推特邀请加入,并添加了一些标签,希望这些标签可以吸引其他初学者。

And then, Nothing Happened!

然后, 什么都没发生!

For more than 24 hours, no one liked my tweet. The only retweet was from a twitter bot. Worst of all, nobody was active on the repository. I was disappointed. My expectations weren’t high, but I had hoped that at least one or two people would check it out.

在超过24小时内,没有人喜欢我的推文。 唯一的转推来自推特机器人。 最糟糕的是,没有人在存储库中处于活动状态。 我很失望。 我的期望不高,但我希望至少有一两个人能检查出来。

But the following morning, there had been some twitter activity. Two people had been working on the repository. The project had its first pull request. I was so excited. Now, less than a week later, there are 8 active collaborators on the project, none of whom I have ever met.

但是第二天早上,有一些推特活动。 有两个人在仓库上工作。 该项目有第一个拉动请求。 我是如此兴奋。 现在,不到一周后,该项目有8位活跃的合作者,但我从未见过。

第5步-粉碎开源游戏 (Step 5 - Crush the Open Source game)

This step is learning by doing. You will be facing many challenges as you start working on the project with your contributors. My first big challenge was a merge conflict. Google was a great help at that moment, and I was lucky that I could ask for help at my weekly meetup.

这一步是边做边学。 当您开始与贡献者合作进行项目时,您将面临许多挑战。 我的第一个大挑战是合并冲突。 当时Google帮了大忙,我很幸运能在每周的聚会上寻求帮助。

Remember that you have built a space for learning. Your contributors understand that you don’t know how to do everything from the get-go. Treat every new challenge as a learning opportunity. Don’t fear asking your contributors for help or advice. The beauty of Open Source is combining the forces of the entire team. You can all share your individual expertise.

请记住,您已经建立了学习空间。 您的贡献者了解到,您从一开始就不知道如何做所有事情。 将每一个新挑战视为学习机会。 不要害怕向您的贡献者寻求帮助或建议。 开源的魅力在于结合了整个团队的力量。 你们都可以分享自己的专业知识。

现在去做 (Now go do it)

The moral of the story is that anyone can start an open source project — that means you, too. It doesn’t matter that you don’t have a huge, complicated idea for a giant project. It doesn’t matter that you haven’t been using GitHub for long, or ever. It doesn’t even matter that you don’t have any friends who code with whom you can collaborate. You can do it, and I really hope you will. You will learn so much, and you will help make open source more approachable for other beginners.

这个故事的寓意是,任何人都可以启动一个开源项目,这也意味着您。 没关系,对于大型项目,您没有一个庞大而复杂的想法。 您已经很长时间没有使用GitHub了,也从未使用过。 您甚至没有任何朋友可以与您合作进行编码,这甚至没有关系。 您可以做到,我真的希望您能做到。 您将学到很多东西,并且将使其他初学者更容易使用开源。

If you have any questions, or you want to talk, feel free to reach me on twitter @lineal and join my Prog-o-meter open source project.

如果您有任何疑问或想要交谈,请随时通过twitter @lineal与我联系,并加入我的Prog-o-meter开放源代码项目。

翻译自: https://www.freecodecamp.org/news/how-i-crushed-my-fear-of-open-source-and-started-my-own-project-and-how-you-can-too-ddcfed041a2f/

android-开源项目

android-开源项目_我如何摆脱对开源的恐惧,并开始了自己的项目-以及如何做到。...相关推荐

  1. ssm架构 开源项目_如何为您的开源项目选择正确的品牌架构

    ssm架构 开源项目 启动开源软件项目的大多数人并不是在等人与他们讨论品牌架构模型,而是很多人确实为他们的项目制定了长期目标,包括最终使其成为付费产品甚至是基础产品.一家为项目代码提供服务和支持的公司 ...

  2. github上 开源项目_在GitHub上组织开源项目的工作流程的3个技巧

    github上 开源项目 管理开源项目是一项艰巨的工作,挑战随着项目的发展而增长. 最终,一个项目可能需要满足不同的需求并跨越多个存储库. 这些问题不是技术问题,但对于解决扩展技术项目很重要. 诸如敏 ...

  3. python怎样开始做项目_观点|如何开始参与开源项目?

    在过去五年我一直参与 Durgapur Linux用户组.我一直为各种开源项目进行贡献.我为开源贡献的主要原因是非常享受当你发送一个补丁或PR(pull request 提交问题)到一个开源项目的感觉 ...

  4. 怎么成为开源贡献者_成为负责任的开源用户

    怎么成为开源贡献者 在我们的日常生活中使用开源软件的人太多了,他们将自己视为用户 ,他们只是利用开源工具而没有将自己视为开发过程的组成部分. 那就对了. 通过使用开源工具,您将自动成为该工具开发过程的 ...

  5. android照片美颜项目_抖音美颜效果开源实现,从AI到美颜全流程讲解

    美颜和短视频 美颜相关APP可以说是现在手机上的必备的软件,例如抖音,快手,拍出的"照骗"和视频不加美颜效果,估计没有人敢传到网上.很多人一直好奇美颜类APP是如何开发出来的.本文 ...

  6. 项目众包 开源项目_人们离开时保持开源项目的活力

    项目众包 开源项目 假设您有一天醒来,并决定最终使用您一直在社交媒体上观看的食谱视频. 您获得了食材,整理了必要的器皿,然后开始按照食谱步骤操作. 您将其切开,再切开,然后在将黄油和洋葱放入锅中的同时 ...

  7. 开源项目_可能使用到的开源项目集合

    可能会使用到的开源项目集合: http://www.oschina.net/news/69808/2015-annual-ranking-top-100-new-open-source-softwar ...

  8. java 同域名下怎么访问同事的项目_喜大普奔,两个开源的前后端分离项目可以在线体验了...

    折腾了一周的域名备案昨天终于搞定了. 松哥第一时间想到赶紧把微人事和V 部落上去,我知道很多小伙伴已经等不及了. 1. 也曾经上过线 其实这两个项目当时刚做好的时候,我就把它们部署到服务器上了,以帮助 ...

  9. 波士顿动力开源代码_学生为这所开源高中提供动力

    波士顿动力开源代码 我怀疑您在高中的许多日子看起来都是这样的:一位成年老师站在一间方形教室的前面,讲课或画画,大量的事实,数字和日期流入排列整齐,排列整齐的网格中书桌. 在老师讲课时,学生对笔记无动于 ...

最新文章

  1. iOS开发几年了,你清楚OC中的这些东西么!!!?
  2. Go语言封装Http协议GET和POST请求
  3. Mybatis入门学习---创建第一个Mybatis程序
  4. mongoDB Liunx下安装及配置
  5. c语言访问数据库 不用odbc,急问ODBC访问数据库问题
  6. 12种方法返回2个文件路径之间的公共基路径ExtractBasePath
  7. 关于perl和shell的参数传递
  8. sublime主题安装
  9. 06 - java 方法
  10. 鸟瞰 MySQL,唬住面试官!
  11. 红豆、绿豆、黑豆、花生、莲子、薏仁米放在一起吃,可以吗?
  12. Failed to execute goal org.apache.maven.plugins:ma
  13. 12年前的 Linux bug 复活,DNS 缓存投毒攻击重现
  14. linux常用文件操作命令
  15. java进程CPU飙高
  16. Linux的百度云有限速吗,mac(linux)下配置aria2解决百度云限速问题
  17. 为何恒星/太阳(辐射)可以被视为黑体(辐射)?
  18. a1sd测试软件准确,A1 SD Bench测试:手机端限制不少
  19. Google全系列产品不再信任赛门铁克某款根证书-转载
  20. 如何获取维普免费账号--在校外下载维普万方等全文

热门文章

  1. CSS清除默认样式,看完这篇彻底明白了
  2. 网易严选Java开发三面面经:java读文件内容
  3. 配电柜测试软件,低压配电柜测试方法及流程.docx
  4. 使用vue-cli脚手架搭建简单项目框架
  5. 如何使用阿里云云解析API实现动态域名解析,搭建私有服务器
  6. 团队项目电梯会议视频
  7. 安装了多个Oracle11g的客户端,哪个客户端的tnsnames.ora会起作用?
  8. Windows虚拟地址转物理地址(原理+源码实现,附简单小工具)
  9. Wind River颁布车用信息文娱行使Linux平台
  10. something about Socket