You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "solomax (via GitHub)" <gi...@apache.org> on 2024/07/11 09:53:49 UTC
[PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
solomax opened a new pull request, #1:
URL: https://github.com/apache/openjpa-site/pull/1
(no comment)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "ilgrosso (via GitHub)" <gi...@apache.org>.
ilgrosso commented on PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#issuecomment-2222569713
Thank you @solomax I'll check your instructions later
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "ilgrosso (via GitHub)" <gi...@apache.org>.
ilgrosso commented on PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#issuecomment-2222614775
> @ilgrosso I believe `4.0.0` should be added to the branch `builds` before merging this :)
I agree.
> What are the steps? :)
>
> Or maybe you can add it? :)
Let me see if I can find something.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "solomax (via GitHub)" <gi...@apache.org>.
solomax commented on PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#issuecomment-2222608369
@ilgrosso I believe `4.0.0` should be added to the branch `builds` before merging this :)
What are the steps? :)
Or maybe you can add it? :)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "solomax (via GitHub)" <gi...@apache.org>.
solomax commented on PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#issuecomment-2222565685
> Thanks @solomax Would you mind to share how you managed to build the website locally?
DISCLAIMER: some of the steps were required to avoid pollution of my laptop with various Python file/folders
- create empty folder all files will be stored (for ex. `~/work/site-pelican`)
- `cd ~/work/site-pelican`
- set up `pyenv`
- `git clone https://github.com/pyenv/pyenv.git .pyenv`
- `cd .pyenv && src/configure && make -C src`
- create file `pyenv.sh` with following content:
```
export PYENV_ROOT="${HOME}/work/site-pelican/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
```
- run `source pyenv.sh`
- install Python 3.8.10: `pyenv install 3.8.10`
- `pyenv global 3.8.10`
- download original `https://raw.githubusercontent.com/apache/infrastructure-pelican/master/bin/local-pelican-site.sh`
- I did the following changes:
```
--- local-pelican-site.sh.orig 2024-07-11 17:11:16.887533118 +0700
+++ local-pelican-site.sh.new 2024-07-11 17:08:22.698213396 +0700
@@ -8,10 +8,12 @@
# will not work under basic Windows.
# github prefix for cloning/updating repos
-GH="https://github.com/apache"
+GH="git@github.com:apache"
# site_build directory path. use a /tmp dir by default
-SB="$HOME/pelican-local"
+#SB="$HOME/pelican-local"
+#SB="$HOME/work/_oss/site-pelican"
+SB="$HOME/work/site-pelican"
# infrastructure-pelican repo
IP="infrastructure-pelican"
@@ -74,7 +76,7 @@
else
echo "Cloning $IP"
# Sometimes useful to add -b <branch> for buildsite testing
- git clone $GH/$IP 2>&1
+ git clone $GH/$IP.git 2>&1
fi
IP="$SB/$IP"
@@ -86,7 +88,7 @@
# cd $REPO && git pull > /dev/null && cd ..
else
echo "Cloning $REPO"
- git clone $GH/$REPO 2>&1
+ git clone $GH/$REPO.git 2>&1
fi
REPO="$SB/$REPO"
# deploy our pipenv if we haven't already
@@ -96,7 +98,7 @@
if [ ! -f "Pipfile.lock" ];
then
echo "Setting up pipenv..."
- pipenv --three install -r $IP/requirements.txt > /dev/null 2>&1 || 'echo "pipenv install failed!" && exit -1'
+ pipenv install $(< $IP/requirements.txt) || 'echo "pipenv install failed!" && exit -1'
else
echo "Pipfile.lock found, assuming pipenv exists."
```
- run `bash local-pelican-site.sh openjpa-site`
- got some errors from `pipenv install`
- modify `infrastructure-pelican/requirements.txt` remove all comments starting with `# `
- Build gfm
- `cd cmark-gfm-0.28.3.gfm.12/build`
- `cmake --install-prefix $PWD/.. ..`
- `make`
- `make install`
- `cd ../..`
- cd `openjpa-site`
- `git checkout 4.0-site-update`
- `cd ..`
- run `bash local-pelican-site.sh openjpa-site`
something like this :))
Sorry for the mess
I'm not really like Python :(
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "solomax (via GitHub)" <gi...@apache.org>.
solomax merged PR #1:
URL: https://github.com/apache/openjpa-site/pull/1
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "ilgrosso (via GitHub)" <gi...@apache.org>.
ilgrosso commented on PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#issuecomment-2222661796
@solomax added: https://github.com/apache/openjpa-site/tree/builds/4.0.0
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "ilgrosso (via GitHub)" <gi...@apache.org>.
ilgrosso commented on code in PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#discussion_r1673747386
##########
pelicanconf.yaml:
##########
@@ -0,0 +1,25 @@
+site:
+ name: Apache Template
Review Comment:
Shouldn't this be "Apache OpenJPA"?
##########
content/index.md:
##########
@@ -12,6 +12,8 @@ Apache OpenJPA is a Java persistence project at [The Apache Software Foundation]
into any Java EE compliant container and many other lightweight
frameworks, such as Tomcat and Spring.
+The [4.x releases](downloads.html) is an implementation of the Jakarta Persistence API 3.0 specification is the most current production ready release.
+
The [3.x releases](downloads.html) targetting the [JSR-338 Java Persistence 2.2](http://jcp.org/en/jsr/detail?id=338) is the most current production ready release.
Review Comment:
Is 3.x still considered "the most current production ready release", even with 4.0.0 released?
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Site is updated with 3.2.2, 4.0.0 release details [openjpa-site]
Posted by "solomax (via GitHub)" <gi...@apache.org>.
solomax commented on code in PR #1:
URL: https://github.com/apache/openjpa-site/pull/1#discussion_r1673789194
##########
pelicanconf.yaml:
##########
@@ -0,0 +1,25 @@
+site:
+ name: Apache Template
Review Comment:
fixed!
##########
content/index.md:
##########
@@ -12,6 +12,8 @@ Apache OpenJPA is a Java persistence project at [The Apache Software Foundation]
into any Java EE compliant container and many other lightweight
frameworks, such as Tomcat and Spring.
+The [4.x releases](downloads.html) is an implementation of the Jakarta Persistence API 3.0 specification is the most current production ready release.
+
The [3.x releases](downloads.html) targetting the [JSR-338 Java Persistence 2.2](http://jcp.org/en/jsr/detail?id=338) is the most current production ready release.
Review Comment:
fixed!
--
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.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org