Adding new project?

31 views
Skip to first unread message

Chris C.

unread,
Aug 5, 2010, 6:13:10 PM8/5/10
to Repo and Gerrit Discussion
Hey guys,

I want to add a new project to the android source under the /external
directory but can't figure out how to go about adding it, or
submitting it to Gerrit for review.

This is what I have:
1) I added a new directory /external/myproject
2) I developed my new library under this directory, and it builds
without errors during a entire system build.

Now, I just need to add my new project using git/repo to Gerrit and
hopefully have it merged into the source. Does anyone know how I
would go about this?

Thanks,
Chris

Anatol Pomazau

unread,
Aug 5, 2010, 8:05:26 PM8/5/10
to Chris C., Repo and Gerrit Discussion
On Thu, Aug 5, 2010 at 3:13 PM, Chris C. <ccf...@gmail.com> wrote:
Hey guys,

I want to add a new project to the android source under the /external
directory but can't figure out how to go about adding it, or
submitting it to Gerrit for review.

This is what I have:
1)  I added a new directory /external/myproject
Locally or at the server? 
2)  I developed my new library under this directory, and it builds
without errors during a entire system build.

Well, the algorithm is following.

Create a repository at the server (you need to have admin rights for it) 
Submit your changes for your branch + all downstream branches
add your project to manifest for your branch + all downstream branches

If you trying to add a project to Android repository - it is better to contact its administrator (Shawn Pierce or Anatol Pomazau).

Now, I just need to add my new project using git/repo to Gerrit and
hopefully have it merged into the source.  Does anyone know how I
would go about this?

Thanks,
Chris

Anatol Pomazau

unread,
Aug 5, 2010, 8:06:12 PM8/5/10
to Chris C., Repo and Gerrit Discussion
On Thu, Aug 5, 2010 at 5:05 PM, Anatol Pomazau <ana...@google.com> wrote:


On Thu, Aug 5, 2010 at 3:13 PM, Chris C. <ccf...@gmail.com> wrote:
Hey guys,

I want to add a new project to the android source under the /external
directory but can't figure out how to go about adding it, or
submitting it to Gerrit for review.

This is what I have:
1)  I added a new directory /external/myproject
Locally or at the server? 
2)  I developed my new library under this directory, and it builds
without errors during a entire system build.

Well, the algorithm is following.

Create a repository at the server (you need to have admin rights for it)

Anatol Pomazau

unread,
Aug 6, 2010, 12:10:36 PM8/6/10
to Chris C., Repo and Gerrit Discussion
On Thu, Aug 5, 2010 at 3:13 PM, Chris C. <ccf...@gmail.com> wrote:
Hey guys,

I want to add a new project to the android source under the /external
directory but can't figure out how to go about adding it, or
submitting it to Gerrit for review.

This is what I have:
1)  I added a new directory /external/myproject
2)  I developed my new library under this directory, and it builds
without errors during a entire system build.

Another possible workaround here is to put third-party code right to the repo where it used. Once your change will be approved, someone from Android team can add that external repo to the server.

Now, I just need to add my new project using git/repo to Gerrit and
hopefully have it merged into the source.  Does anyone know how I
would go about this?

Thanks,
Chris

Chris C.

unread,
Aug 6, 2010, 5:26:30 PM8/6/10
to Repo and Gerrit Discussion
Anatol,

Thanks for replying to my question. To clarify, I am trying to add my
new project to the Android repository, yes. So, following your logic
of adding my new project to an existing project, and then having
someone create a new project for me, please tell me if this is along
the lines of what you were thinking:

1) Move my project (currently at /external/mylib on my local version)
to an existing project (ex: /libcore/mylib).
2) Submit to Gerrit for review
3) Contact an administrator to get my project moved?

- Chris



On Aug 6, 10:10 am, Anatol Pomazau <ana...@google.com> wrote:
> On Thu, Aug 5, 2010 at 3:13 PM, Chris C. <ccfl...@gmail.com> wrote:
> > Hey guys,
>
> > I want to add a new project to the android source under the /external
> > directory but can't figure out how to go about adding it, or
> > submitting it to Gerrit for review.
>
> > This is what I have:
> > 1)  I added a new directory /external/myproject
> > 2)  I developed my new library under this directory, and it builds
> > without errors during a entire system build.
>
> Another possible workaround here is to put third-party code right to the
> repo where it used. Once your change will be approved, someone from Android
> team can add that external repo to the server.
>
>
>
> > Now, I just need to add my new project using git/repo to Gerrit and
> > hopefully have it merged into the source.  Does anyone know how I
> > would go about this?
>
> > Thanks,
> > Chris
>
> > --
> > To unsubscribe, email repo-discuss...@googlegroups.com<repo-discuss%2Bunsu...@googlegroups.com>
> > More info athttp://groups.google.com/group/repo-discuss?hl=en

Anatol Pomazau

unread,
Aug 6, 2010, 5:32:43 PM8/6/10
to Chris C., Repo and Gerrit Discussion
On Fri, Aug 6, 2010 at 2:26 PM, Chris C. <ccf...@gmail.com> wrote:
Anatol,

Thanks for replying to my question.  To clarify, I am trying to add my
new project to the Android repository, yes.  So, following your logic
of adding my new project to an existing project, and then having
someone create a new project for me, please tell me if this is along
the lines of what you were thinking:

1)  Move my project (currently at /external/mylib on my local version)
to an existing project (ex:  /libcore/mylib).
2)  Submit to Gerrit for review
Here should be "Get an approved from Android team". We need to make sure that the additional library is ok. As soon as they approve it the administrator create a separate repository for project.

3)  Contact an administrator to get my project moved?

Correct.

On Aug 6, 10:10 am, Anatol Pomazau <ana...@google.com> wrote:
> On Thu, Aug 5, 2010 at 3:13 PM, Chris C. <ccfl...@gmail.com> wrote:
> > Hey guys,
>
> > I want to add a new project to the android source under the /external
> > directory but can't figure out how to go about adding it, or
> > submitting it to Gerrit for review.
>
> > This is what I have:
> > 1)  I added a new directory /external/myproject
> > 2)  I developed my new library under this directory, and it builds
> > without errors during a entire system build.
>
> Another possible workaround here is to put third-party code right to the
> repo where it used. Once your change will be approved, someone from Android
> team can add that external repo to the server.
>
>
>
> > Now, I just need to add my new project using git/repo to Gerrit and
> > hopefully have it merged into the source.  Does anyone know how I
> > would go about this?
>
> > Thanks,
> > Chris
>
> > --
> > To unsubscribe, email repo-discuss...@googlegroups.com<repo-discuss%2Bunsu...@googlegroups.com>
> > More info athttp://groups.google.com/group/repo-discuss?hl=en

--
To unsubscribe, email repo-discuss...@googlegroups.com

Chris C.

unread,
Aug 6, 2010, 5:40:08 PM8/6/10
to Repo and Gerrit Discussion
Ok, that makes sense. Is there a way that I can submit my new project
directly to an administrator without having to do the "hack" to add it
to an already-existing project?

- Chris

On Aug 6, 3:32 pm, Anatol Pomazau <ana...@google.com> wrote:
> > <repo-discuss%2Bunsu...@googlegroups.com<repo-discuss%252Buns...@googlegroups.com>

Anatol Pomazau

unread,
Aug 6, 2010, 5:47:54 PM8/6/10
to Chris C., Repo and Gerrit Discussion
On Fri, Aug 6, 2010 at 2:40 PM, Chris C. <ccf...@gmail.com> wrote:
Ok, that makes sense.  Is there a way that I can submit my new project
directly to an administrator without having to do the "hack" to add it
to an already-existing project?
No :( 
Reply all
Reply to author
Forward
0 new messages