infrastructure-pelican.git
4 weeks agofixing typo master
Chris Thistlethwaite [Mon, 29 Aug 2022 15:29:18 +0000 (11:29 -0400)] 
fixing typo

4 weeks agocompensating for either news or blogs atom feed, but for real this time
Chris Thistlethwaite [Mon, 29 Aug 2022 15:19:42 +0000 (11:19 -0400)] 
compensating for either news or blogs atom feed, but for real this time

4 weeks agocompensating for either news or blogs atom feed
Chris Thistlethwaite [Mon, 29 Aug 2022 15:17:18 +0000 (11:17 -0400)] 
compensating for either news or blogs atom feed

4 weeks agofixing up news.a.o atom feed
Chris Thistlethwaite [Mon, 29 Aug 2022 15:06:45 +0000 (11:06 -0400)] 
fixing up news.a.o atom feed

4 weeks agoMerge pull request #40 from apache/INFRA-23635
sebbASF [Sat, 27 Aug 2022 13:03:54 +0000 (14:03 +0100)] 
Merge pull request #40 from apache/INFRA-23635

INFRA-23635: Handle parser errors

4 weeks agoINFRA-23635: Handle parser errors 40/head
Sebb [Fri, 26 Aug 2022 21:32:40 +0000 (22:32 +0100)] 
INFRA-23635: Handle parser errors

2 months agoUpdate README.md
Andrew Wetmore [Tue, 19 Jul 2022 14:06:46 +0000 (11:06 -0300)] 
Update README.md

Moved instructions for local builds to https://infra.apache.org/asf-pelican-local.html

2 months agoDelete Getting_Started.md
Andrew Wetmore [Tue, 19 Jul 2022 13:48:49 +0000 (10:48 -0300)] 
Delete Getting_Started.md

We already have this at https://infra.apache.org/asf-pelican-gettingstarted.html

2 months agolocal buildsite script simplified
dfoulks1 [Thu, 14 Jul 2022 13:53:23 +0000 (08:53 -0500)] 
local buildsite script simplified

local buildsite script now just does :tm:

if no pelican-local pipenv is detected in `~` one will be created.
if a website directory is found in the pipenv, local changes take
precedence and no pull operation is performed.

Once the website is built, it will be served locally.

On a re-run, the generated site content and all build artifacts are
deleted before the site is re-built and served.

2 months agoChanged the default build path to /home/dfoulks/pelican-local
dfoulks1 [Fri, 8 Jul 2022 13:13:05 +0000 (08:13 -0500)] 
Changed the default build path to /home/dfoulks/pelican-local

2 months agoMerge pull request #38 from apache/localbuild_script
fluxo [Thu, 7 Jul 2022 18:36:11 +0000 (11:36 -0700)] 
Merge pull request #38 from apache/localbuild_script

localbuild script converted to dev env setup script

2 months agoUpdated the output to separate build and serve, replaced the windows disclaimer localbuild_script 38/head
dfoulks1 [Thu, 7 Jul 2022 17:05:11 +0000 (12:05 -0500)] 
Updated the output to separate build and serve, replaced the windows disclaimer

2 months agolocalbuild script converted to dev env setup script
dfoulks1 [Thu, 7 Jul 2022 14:20:45 +0000 (09:20 -0500)] 
localbuild script converted to dev env setup script

script builds in './pelican-local/' instead of '/tmp/site_build/' now.
set pipenv script aliases for:
  * 'build'
  * 'clean'
  * 'serve'

Still needs to support SSH Key / GitHub PAT checkouts.

2 months agoremove /dev/null to troubleshoot "hung" git clone
cml [Wed, 6 Jul 2022 21:30:28 +0000 (14:30 -0700)] 
remove /dev/null to troubleshoot "hung" git clone

2 months agorename script to reflect purpose
cml [Wed, 6 Jul 2022 21:29:09 +0000 (14:29 -0700)] 
rename script to reflect purpose

clarify where the script can run

2 months agofix link to script
fluxo [Tue, 5 Jul 2022 23:30:55 +0000 (16:30 -0700)] 
fix link to script

2 months agoMerge branch 'master' of https://github.com/apache/infrastructure-pelican
fluxo [Tue, 5 Jul 2022 23:28:57 +0000 (16:28 -0700)] 
Merge branch 'master' of https://github.com/apache/infrastructure-pelican

2 months agoimprove automation
fluxo [Tue, 5 Jul 2022 23:26:32 +0000 (16:26 -0700)] 
improve automation

provide an end-user facing script to automatically grab repos &
dependencies, using pipenv to avoid conflicting with any locally
installed pips.

update the documentation to be less mysterious. (kick_build.py may need
to be re-documented elsewhere.)

add a crumb for a future basic "how to" page.

2 months agoMerge pull request #37 from apache/cml/env
fluxo [Tue, 5 Jul 2022 22:15:58 +0000 (15:15 -0700)] 
Merge pull request #37 from apache/cml/env

switch to env to allow this to function in a pipenv

2 months agoswitch to env to allow this to function in a pipenv cml/env 37/head
fluxo [Tue, 5 Jul 2022 19:32:25 +0000 (12:32 -0700)] 
switch to env to allow this to function in a pipenv

2 months agoMerge pull request #36 from apache/localbuild_mods
dfoulks1 [Thu, 30 Jun 2022 20:31:14 +0000 (15:31 -0500)] 
Merge pull request #36 from apache/localbuild_mods

don't pass content_dir to generate_settings() so that it defaults to '.'

2 months agoMerge pull request #35 from wordinone/metadata_mod
Greg Stein [Thu, 30 Jun 2022 20:18:39 +0000 (16:18 -0400)] 
Merge pull request #35 from wordinone/metadata_mod

resolve issue github.com/apache/www-site/issues/67

2 months agodon't pass content_dir to generate_settings() so that it defaults to '.' 36/head
dfoulks1 [Thu, 30 Jun 2022 20:00:49 +0000 (15:00 -0500)] 
don't pass content_dir to generate_settings() so that it defaults to '.'

2 months agoOF: Removed the plugin envvar check
dfoulks1 [Wed, 29 Jun 2022 21:02:10 +0000 (16:02 -0500)] 
OF: Removed the plugin envvar check

2 months agoWorking on local build mechanism
dfoulks1 [Wed, 29 Jun 2022 20:40:09 +0000 (15:40 -0500)] 
Working on local build mechanism

* Added envvar check for PELICAN_PLUGINS
* Added support for the default pelican config file.

4 months agoadd {seq}_size to metadata 35/head
wordinone [Tue, 24 May 2022 21:18:15 +0000 (23:18 +0200)] 
add {seq}_size to metadata

4 months agonote required packages
Greg Stein [Sat, 21 May 2022 07:38:14 +0000 (03:38 -0400)] 
note required packages

cmake and g++ might not be on a bare/new install. Note they are required.

4 months agoUpdate pelicanconf.md
Andrew Wetmore [Thu, 5 May 2022 14:21:42 +0000 (11:21 -0300)] 
Update pelicanconf.md

4 months agoUpdate pelicanconf.md
Andrew Wetmore [Thu, 5 May 2022 14:21:20 +0000 (11:21 -0300)] 
Update pelicanconf.md

Text has moved to https://infra.apache.org/asf-pelican-config.html

4 months agoUpdate pelicanconf.md
Andrew Wetmore [Wed, 4 May 2022 12:22:54 +0000 (09:22 -0300)] 
Update pelicanconf.md

minor text tweak.

5 months agoOF: Added more currently utilized plugins to pelican repo
dfoulks1 [Mon, 25 Apr 2022 17:55:23 +0000 (12:55 -0500)] 
OF: Added more currently utilized plugins to pelican repo

5 months agoDocco
Sebb [Sat, 16 Apr 2022 11:12:13 +0000 (12:12 +0100)] 
Docco

5 months agoDefer copying code to reduce rebuilds on changes
Sebb [Sat, 16 Apr 2022 10:35:20 +0000 (11:35 +0100)] 
Defer copying code to reduce rebuilds on changes

5 months agoNo longer needed
Sebb [Sat, 16 Apr 2022 10:28:54 +0000 (11:28 +0100)] 
No longer needed

5 months agoMerge pull request #28 from apache/gs-flexible
Daniel Gruno [Fri, 15 Apr 2022 16:17:07 +0000 (18:17 +0200)] 
Merge pull request #28 from apache/gs-flexible

More flexible pelican config/run.

5 months agoMerge pull request #30 from apache/humbedooh/eccn-remote-patch
Daniel Gruno [Fri, 15 Apr 2022 14:27:01 +0000 (16:27 +0200)] 
Merge pull request #30 from apache/humbedooh/eccn-remote-patch

Add support for remote fetching of ECCN yaml

5 months agostart, not begin humbedooh/eccn-remote-patch 30/head
Daniel Gruno [Fri, 15 Apr 2022 14:26:23 +0000 (16:26 +0200)] 
start, not begin

5 months agoAdd support for remote fetching of ECCN yaml
Daniel Gruno [Fri, 15 Apr 2022 12:43:35 +0000 (14:43 +0200)] 
Add support for remote fetching of ECCN yaml

5 months agoMore flexible pelican config/run. gs-flexible 28/head
Greg Stein [Wed, 6 Apr 2022 06:03:24 +0000 (01:03 -0500)] 
More flexible pelican config/run.

The current buildsite.py process assumes the content is placed into
"content". This is fixed through a new CONTENT_DIR variable.

generate_settings() makes some assumptions about the location of the
theme and any plugins. Clarify this with SETTINGS_DIR variable.

For now, just hack in a look for a "site" directory, which we knows
contains all of the above. If a "content" directory is present, then
it is the original layout, and we keep on rollin'

Added some docco at the head to specify what is needed to run this
script in a local dev/test scenario.

5 months agoEnable content options in the YAML.
Greg Stein [Mon, 4 Apr 2022 07:20:05 +0000 (02:20 -0500)] 
Enable content options in the YAML.

For example

content:
  content: name_of_subdir
  static_dirs:
    - css
    - images
    - js

5 months agoAdd a pair of new params for the "dir" subcommand.
Greg Stein [Mon, 4 Apr 2022 07:06:48 +0000 (02:06 -0500)] 
Add a pair of new params for the "dir" subcommand.

5 months agoSplit out vars for different directories.
Greg Stein [Mon, 4 Apr 2022 06:55:12 +0000 (01:55 -0500)] 
Split out vars for different directories.

5 months agoRevise offering help.
Greg Stein [Mon, 4 Apr 2022 06:38:07 +0000 (01:38 -0500)] 
Revise offering help.

We don't allow for pelicanconf.py in the "dir" subcommand. So just
exit after pointing people to a web page. Don't spam the console.

10 months agoFix up to allow for python move
Sebb [Sun, 21 Nov 2021 20:22:30 +0000 (20:22 +0000)] 
Fix up to allow for python move

10 months agocall py3 directly, avoid inheriting a broken environment
Daniel Gruno [Sat, 13 Nov 2021 01:56:26 +0000 (02:56 +0100)] 
call py3 directly, avoid inheriting a broken environment

13 months agoEnsure requirements.txt is up to date
Sebb [Sun, 22 Aug 2021 15:00:32 +0000 (16:00 +0100)] 
Ensure requirements.txt is up to date

13 months agoasfindex plugin for site index (#26)
Dave Fisher [Fri, 20 Aug 2021 20:13:20 +0000 (13:13 -0700)] 
asfindex plugin for site index (#26)

* asfindex content generation

* Settings for asfindex plugin / scope on index

* Abandon Menu Generation

While index generation is generalizable menu generation is not.

14 months agoOF: document condition
Sebb [Wed, 21 Jul 2021 10:46:17 +0000 (11:46 +0100)] 
OF: document condition

14 months agoDocument script purpose
sebbASF [Wed, 21 Jul 2021 10:28:47 +0000 (11:28 +0100)] 
Document script purpose

14 months agoOF: unnecessary (and wrong)
Sebb [Tue, 20 Jul 2021 22:03:34 +0000 (23:03 +0100)] 
OF: unnecessary (and wrong)

The pelican command creates the output directory as necessary.
In any case, the default in buildsite.py is site-generated not /site-generated.

14 months agoUse requirements.txt (#22)
sebbASF [Tue, 20 Jul 2021 19:10:03 +0000 (20:10 +0100)] 
Use requirements.txt (#22)

14 months agoOF: Cleanup Dockerfile installs - add DOCKER.md (#20)
Dave Fisher [Tue, 20 Jul 2021 19:00:13 +0000 (12:00 -0700)] 
OF: Cleanup Dockerfile installs - add DOCKER.md (#20)

* OF: Cleanup Dockerfile installs - add DOCKER.md

* Update DOCKER.md

14 months agoOF: Avoid: --bind without --listen has no effect (#18)
sebbASF [Mon, 19 Jul 2021 15:09:20 +0000 (16:09 +0100)] 
OF: Avoid: --bind without --listen has no effect (#18)

Does not impact buildbot

14 months agoMerge pull request #16 from apache/dave/smaller-docker-image
sebbASF [Mon, 19 Jul 2021 10:31:52 +0000 (11:31 +0100)] 
Merge pull request #16 from apache/dave/smaller-docker-image

Two stage Dockerfile saves 230MB in image

14 months agoTwo phase Dockerfile saves 230MB in image 16/head
Dave Fisher [Sun, 18 Jul 2021 15:56:37 +0000 (08:56 -0700)] 
Two phase Dockerfile saves 230MB in image

14 months agoSimplify docker; build from checkout (#15)
sebbASF [Sun, 18 Jul 2021 15:25:22 +0000 (16:25 +0100)] 
Simplify docker; build from checkout (#15)

* Simplify docker; build from checkout

* Avoid File not found error

* Need to include a file that is displayed if pelicanconf.yaml is missing

* Adding .authtokens to image

* Revert "Adding .authtokens to image"

This reverts commit b760ff708eb6cd1cde3262c2e71b6cb6fb96036f.

* Don't hide missing authtokens

* Get authtokens from site checkout

Co-authored-by: Dave Fisher <dave@davefisher.tech>
14 months agoOF: Dockerfile - use recent commit hash, support all buildsite.py, more examples...
Dave Fisher [Fri, 16 Jul 2021 17:02:02 +0000 (10:02 -0700)] 
OF: Dockerfile - use recent commit hash, support all buildsite.py, more examples  (#13)

* Add subversion and git to Dockerfile, use latest commit hash

* Add additional comments with instructions

14 months agoMerge pull request #11 from bdelacretaz/dockerfile/plugins-commit-hash
Greg Stein [Fri, 16 Jul 2021 07:19:52 +0000 (02:19 -0500)] 
Merge pull request #11 from bdelacretaz/dockerfile/plugins-commit-hash

Mention INFRA_PELICAN_COMMIT in Dockerfile build instructions

14 months agotypo 11/head
Bertrand Delacretaz [Fri, 16 Jul 2021 07:17:10 +0000 (09:17 +0200)] 
typo

14 months agoMention INFRA_PELICAN_COMMIT in build instructions
Bertrand Delacretaz [Fri, 16 Jul 2021 07:12:39 +0000 (09:12 +0200)] 
Mention INFRA_PELICAN_COMMIT in build instructions

14 months agoMerge pull request #10 from apache/sebb/pylint
Greg Stein [Thu, 15 Jul 2021 23:28:28 +0000 (18:28 -0500)] 
Merge pull request #10 from apache/sebb/pylint

Fix an escaped period. Remove unused import. Use 4-space indents.

14 months agoPylint fixes 10/head
Sebb [Thu, 15 Jul 2021 22:55:13 +0000 (23:55 +0100)] 
Pylint fixes

14 months agoTODO
Sebb [Thu, 15 Jul 2021 22:43:53 +0000 (23:43 +0100)] 
TODO

14 months agoOF: fix file name
Sebb [Thu, 15 Jul 2021 22:18:17 +0000 (23:18 +0100)] 
OF: fix file name

14 months agoPlugin is very noisy (#5)
sebbASF [Thu, 15 Jul 2021 21:20:42 +0000 (22:20 +0100)] 
Plugin is very noisy (#5)

14 months agoOF: update plugin architecture
Dave Fisher [Thu, 15 Jul 2021 20:37:16 +0000 (13:37 -0700)] 
OF: update plugin architecture

14 months agoMerge pull request #4 from apache/dave/anomolous-backslash
Greg Stein [Thu, 15 Jul 2021 20:10:17 +0000 (15:10 -0500)] 
Merge pull request #4 from apache/dave/anomolous-backslash

The `\\.` form is clearer, even two the single slash form works in Python.

14 months agoOF: remove required= argument (not available in py3.6)
Greg Stein [Thu, 15 Jul 2021 19:45:52 +0000 (14:45 -0500)] 
OF: remove required= argument (not available in py3.6)

14 months agoMerge pull request #9 from apache/feature/Dockerfile
Greg Stein [Thu, 15 Jul 2021 19:33:26 +0000 (14:33 -0500)] 
Merge pull request #9 from apache/feature/Dockerfile

adds a Dockerfile, creates subcommands for buildsite.py, makes plugin yaml optional/defaulted, and adds some doc for configuring the pelican build via yaml

14 months agoUpdate commit in Dockerfile 9/head
Dave Fisher [Thu, 15 Jul 2021 19:14:06 +0000 (12:14 -0700)] 
Update commit in Dockerfile

14 months agoAdjust args parsing - include args.func(args)
Dave Fisher [Thu, 15 Jul 2021 19:09:59 +0000 (12:09 -0700)] 
Adjust args parsing - include args.func(args)

14 months agoDockerfile with commit hash updated
Dave Fisher [Thu, 15 Jul 2021 17:37:30 +0000 (10:37 -0700)] 
Dockerfile with commit hash updated

14 months agoadd initial help about pelicanconf.yaml
Dave Fisher [Thu, 15 Jul 2021 17:33:18 +0000 (10:33 -0700)] 
add initial help about pelicanconf.yaml

14 months agobuildsite.py now has two commands: git and dir
Dave Fisher [Thu, 15 Jul 2021 16:57:47 +0000 (09:57 -0700)] 
buildsite.py now has two commands: git and dir

14 months agoMerge pull request #8 from apache/feature/allow-empty-plugins
Greg Stein [Wed, 14 Jul 2021 22:58:43 +0000 (17:58 -0500)] 
Merge pull request #8 from apache/feature/allow-empty-plugins

Feature/allow empty plugins

14 months agoOF: Add all plugins to the README (#7)
Dave Fisher [Wed, 14 Jul 2021 22:19:45 +0000 (15:19 -0700)] 
OF: Add all plugins to the README (#7)

* Add all plugins to the README

* Update README.md

* Add pelican architecture notes

14 months agoUpdate gitignore for cmark library installed in place
Dave Fisher [Wed, 14 Jul 2021 21:54:06 +0000 (14:54 -0700)] 
Update gitignore for cmark library installed in place

14 months agoSet checkout to commit point which has build_in_docker.py
Dave Fisher [Wed, 14 Jul 2021 21:29:11 +0000 (14:29 -0700)] 
Set checkout to commit point which has build_in_docker.py

14 months agoIntroduce Dockerfile
Dave Fisher [Wed, 14 Jul 2021 21:18:07 +0000 (14:18 -0700)] 
Introduce Dockerfile

14 months agoFix plugins specification 8/head
Dave Fisher [Wed, 14 Jul 2021 17:28:32 +0000 (10:28 -0700)] 
Fix plugins specification

14 months agoAllow missing plugins directive along with missing path and use
Dave Fisher [Wed, 14 Jul 2021 17:17:05 +0000 (10:17 -0700)] 
Allow missing plugins directive along with missing path and use

14 months agoFixup [ and ] for ezt in download templates
Dave Fisher [Tue, 13 Jul 2021 14:51:23 +0000 (07:51 -0700)] 
Fixup [ and ] for ezt in download templates

14 months agoPer sebb - fix anomolous backslash 4/head
Dave Fisher [Mon, 5 Jul 2021 15:46:44 +0000 (08:46 -0700)] 
Per sebb - fix anomolous backslash

14 months agoOF: unused import
Sebb [Mon, 5 Jul 2021 00:02:20 +0000 (01:02 +0100)] 
OF: unused import

14 months agoMerge pull request #3 from apache/dave/no-single-branch
Greg Stein [Sun, 4 Jul 2021 20:59:25 +0000 (15:59 -0500)] 
Merge pull request #3 from apache/dave/no-single-branch

clone with --depth=1 --no-single-branch

14 months agoclone with --depth=1 --no-single-branch 3/head
Dave Fisher [Sun, 4 Jul 2021 18:11:10 +0000 (11:11 -0700)] 
clone with --depth=1 --no-single-branch

14 months agoMerge pull request #1 from apache/dave/expanded
Greg Stein [Sat, 3 Jul 2021 21:46:06 +0000 (16:46 -0500)] 
Merge pull request #1 from apache/dave/expanded

Add more yaml config for asfdata, asfrun, and asfcopy plugins. Update asfgenid. Debug buildsite.py

14 months agoSome tweaks to generate_settings() 1/head
Greg Stein [Sat, 3 Jul 2021 21:45:01 +0000 (16:45 -0500)] 
Some tweaks to generate_settings()

14 months agoMinor edits
Greg Stein [Sat, 3 Jul 2021 21:38:31 +0000 (16:38 -0500)] 
Minor edits

14 months agoupdate to asfgenid
Dave Fisher [Sat, 3 Jul 2021 19:52:06 +0000 (12:52 -0700)] 
update to asfgenid

14 months agoremove extra data
Dave Fisher [Sat, 3 Jul 2021 19:26:20 +0000 (12:26 -0700)] 
remove extra data

14 months agotop level debug in yaml
Dave Fisher [Sat, 3 Jul 2021 19:22:04 +0000 (12:22 -0700)] 
top level debug in yaml

14 months agocode review
Dave Fisher [Sat, 3 Jul 2021 18:54:18 +0000 (11:54 -0700)] 
code review

14 months agoAdd asfdata, asfrun, and asfcopy plugins. Update asfgenid. Debug.
Dave Fisher [Sat, 3 Jul 2021 16:52:47 +0000 (09:52 -0700)] 
Add asfdata, asfrun, and asfcopy plugins. Update asfgenid. Debug.

14 months agodev/test improvements: --listen mode and requirements.txt not processed msg
Dave Fisher [Fri, 2 Jul 2021 18:32:52 +0000 (11:32 -0700)] 
dev/test improvements: --listen mode and requirements.txt not processed msg

14 months agouse --quiet rather than printing diffs. implies --exit-code
Greg Stein [Thu, 1 Jul 2021 20:51:48 +0000 (15:51 -0500)] 
use --quiet rather than printing diffs. implies --exit-code

14 months agofix path to the builtin plugins
Greg Stein [Thu, 1 Jul 2021 20:36:29 +0000 (15:36 -0500)] 
fix path to the builtin plugins

14 months agoAvoid committing, if no changes. Do more work in dev/test environ, but do not push.
Greg Stein [Thu, 1 Jul 2021 20:32:23 +0000 (15:32 -0500)] 
Avoid committing, if no changes. Do more work in dev/test environ, but do not push.

14 months agoSet PAGE_TRANSLATION_ID = None and TIMEZONE = 'UTC'
Dave Fisher [Thu, 1 Jul 2021 19:13:49 +0000 (12:13 -0700)] 
Set PAGE_TRANSLATION_ID = None and TIMEZONE = 'UTC'

15 months agosimple script to build/compare pelican builds
Greg Stein [Mon, 28 Jun 2021 04:48:31 +0000 (23:48 -0500)] 
simple script to build/compare pelican builds