[GitHub] [tomee] Daniel-Dos commented on pull request #703: TOMEE-2895 Translate to Portuguese: examples/rest-xml-json

2020-08-29 Thread GitBox


Daniel-Dos commented on pull request #703:
URL: https://github.com/apache/tomee/pull/703#issuecomment-683325751


   thanks @jrxxjr  and @hbelmiro 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [tomee] Daniel-Dos merged pull request #703: TOMEE-2895 Translate to Portuguese: examples/rest-xml-json

2020-08-29 Thread GitBox


Daniel-Dos merged pull request #703:
URL: https://github.com/apache/tomee/pull/703


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




Re: Your project's website

2020-08-29 Thread David Jencks
The content history is now in tomee-site-pub.  I added an .asf.yaml file:

```
notifications:
  commits: site-...@tomee.apache.org
  issues: site-...@tomee.apache.org
  pullrequests: site-...@tomee.apache.org
  jira_options: link label link label

# this staging config will publish any commits to 
https://tomee-beta.staged.apache.org
#staging:
#  profile: beta
#  whoami: master
```

that directs mail to site-...@tomee.apache.org.

Mail notifications are turned back on.

For reference, here’s how far I’ve got with publishing the Aries site:

```
#!/bin/bash

npm run clean-install

rm -rf build
mkdir -p build/site
# clone the aries-site-pub repo
(
cd build/site
git clone --depth 1 g...@github.com:apache/aries-site-pub.git .
git rm -r .
)

npm run build-noclean

(
cd build/site
git add .
git commit -m "site build"
git push origin master
)
```

This is for an Antora-only site; the site build is actually `npm run 
build-noclean`.  So far I only know how to run this locally, buildbot and 
jenkins remain mysteries to me.  I don’t see why this couldn’t be run on GitHub 
using GitHub actions, but it might be against infra policy.

David Jencks

> On Aug 27, 2020, at 9:51 PM, David Jencks  wrote:
> 
> Maybe my memory’s just a bit slow.
> 
> svn log https://svn.apache.org/repos/infra/websites/production/tomee/content 
>  shows 
> that I’ve found the last commit.
> 
> David Jencks
> 
>> On Aug 27, 2020, at 9:47 PM, David Jencks > > wrote:
>> 
>> I’m afraid I no longer understand how svn works or how to see what’s in it.  
>> I can’t find the published site on viewvc.
>> 
>> The last imported-to-git revision I got was 
>> 
>> commit d971bdc415a5aacedad7a73bfc59a72abe0ddc09 (HEAD -> master, svn/trunk)
>> Author: Daniel Gruno mailto:humbed...@apache.org>>
>> Date:   Mon Aug 10 17:53:26 2020 +
>> 
>> Publishing svnmucc operation to tomee site by humbedooh
>> 
>> git-svn-id: 
>> https://svn.apache.org/repos/infra/websites/production/tomee/content@1064188 
>> 
>>  90ea9780-b833-de11-8433-001ec94261de
>> 
>> 
>> however there appeared to be a git gc error after that.  I can’t figure out 
>> how to confirm that this is indeed the last site commit, although running 
>> the svn2git command again doesn’t find anything more.
>> 
>> What I can find in https://svn.apache.org/viewvc/tomee/site/trunk/?view=log 
>>  is
>> 
>> Revision 1880750 
>>  - Directory 
>> Listing  
>> Modified Mon Aug 10 17:17:31 2020 UTC (2 weeks, 3 days ago) by dblevins
>> force cms to update
>> so the time frame seems approximately right.
>> 
>> Can anyone confirm I’ve got the whole history?
>> 
>> Thanks
>> David Jencks
>> 
>>> On Aug 27, 2020, at 7:44 PM, David Jencks >> > wrote:
>>> 
>>> tomee-site-pub created
>>> site-...@tomee.apache.org  requested
>>> INFRA-20781  (disable 
>>> commit emails) opened
>>> svn2git still in process.
>>> 
>>> If things go really quickly I might be able to push tomorrow.
>>> 
>>> David Jencks
>>> 
 On Aug 27, 2020, at 4:42 PM, David Blevins >>> > wrote:
 
> On Aug 27, 2020, at 1:58 PM, David Jencks  > wrote:
> 
> I’ve been “warming up” with the Aries website and did this recently for 
> them.  I think I can do this easily.  What do we want the TomEE repo to 
> be named? I’d suggest tomee-site-pub.
 
 I was struggling to think of a good name.  `tomee-site-pub` is great!
 
> On Aug 27, 2020, at 2:11 PM, David Jencks  > wrote:
> 
> I started…. should be done in a few hours.  Next step is to create the 
> apache git repo using self-serve and ask infra to turn off commit emails 
> for the push (which may take a day or so).
> 
> Where should commit emails for this repo go?  For aries I created a 
> site-...@aries.apache.org  list since I 
> don’t think anyone is interested in looking at the html changes directly. 
>  Should I ask for such a list for TomEE?  Sending the emails there is 
> configured with the .asf.yaml file in the root of the repo.
 
 I think site-pub@ is another very good suggestion.
 
 Thank you so much for taking this one up, David!
 
 I'm pretty excited to ditch the CMS!  The last publish I did took hours of 
 checking/poking and prodding just to get the updates to go live as the 
 commit size was so large and there are 2 repos to go through.  It'll be 
 wonderful to be done