infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Stein (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16011) NETBEANS - github repository with multi-domain setup
Date Tue, 20 Feb 2018 07:40:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369782#comment-16369782
] 

Greg Stein commented on INFRA-16011:
------------------------------------

The first three points should be doable. Note that the current netbeans.a.o site is located
in that repository on the "asf-site" branch.

Infra will configure the web server, virtual hosts, and DNS for you. Just file a ticket with
instructions. (and/or we go with this one) ... it is possible for us to use subdirectories
in that single repository, or to use multiple repositories. Whatever works best for the community's
workflow.

We use "gitpubsub" to automatically move content from the "asf-site" branch to the web server.
Each time that branch is updated, the website will be updated within a few seconds (depending
on the size of the change).

The CI infrastructure can be configured to push to the asf-site branch, BUT only using the
ASF's buildbot or Jenkins installation. We cannot provide commit keys to third-party machines.

Note that Daniel's point about static content seems at odds with wiki.netbeans.org. Unless
that wiki is built entirely as a client-side tool, and somehow enables commits to GitHub,
then your approach may not work. (dunno what bits.netbeans.org is about)


> NETBEANS - github repository with multi-domain setup
> ----------------------------------------------------
>
>                 Key: INFRA-16011
>                 URL: https://issues.apache.org/jira/browse/INFRA-16011
>             Project: Infrastructure
>          Issue Type: Task
>          Components: DNS, Github, Website
>            Reporter: Antonio Vieiro
>            Priority: Major
>
> Hi,
> We would like to create some directories in this repository:
> https://github.com/apache/incubator-netbeans-website
> Each one of these directories will correspond to some DNS subdomains:
> - netbeans.apache.org (for  the http://netbeans.apache.org website)
> - wiki.netbeans.org (will be http://wiki.netbeans.org in the future)
> - bits.netbeans.org (will be http://bits.netbeans.org in the future)
> - maybe some other *.netbeans.org subdomains in the future.
> We would like to know:
> 1. How to integrate this repository structure with our web server (maybe there's a guide
somewhere? can we have different virtual hosts in our web server?).
> 2. If .htaccess files are enabled (we may need these for doing HTTP 301 redirections),
or how to enable them.
> 3. Also, do we need to host the content in the github repo itself or can we generate
it and upload it somewhere?
> Thanks!
> Antonio (NetBeans)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message