This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new a6fc32ee6 ORC-1336: Protect `.asf.yaml`, `api`, 
`ORC-Deep-Dive-2020.pptx` files in website
a6fc32ee6 is described below

commit a6fc32ee6eb9b673f3dc1dbae948dc1fb4240013
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Dec 29 14:08:30 2022 -0800

    ORC-1336: Protect `.asf.yaml`, `api`, `ORC-Deep-Dive-2020.pptx` files in 
website
    
    ### What changes were proposed in this pull request?
    
    This PR aims to protect `.asf.yaml` and `api` and `pptx` files during 
website generations.
    
    ### Why are the changes needed?
    
    `.asf.yaml` and `pptx` files were added directly long time ago. And, `api` 
documents are updated only during releasing.
    ```
    $ cd site
    
    $ docker run -d --name orc-container -p 4000:4000 -v $PWD:/home/orc/site 
apache/orc-dev:site
    
    $ cd target
    
    $ git status
    On branch asf-site
    Your branch is up to date with 'origin/asf-site'.
    
    Changes not staged for commit:
      (use "git add/rm <file>..." to update what will be committed)
      (use "git restore <file>..." to discard changes in working directory)
            deleted:    .asf.yaml
            deleted:    
api/apidocs/org/apache/orc/examples/CompressionWriter.html
            deleted:    
api/apidocs/org/apache/orc/examples/InMemoryEncryptionReader.html
            deleted:    
api/apidocs/org/apache/orc/examples/InMemoryEncryptionWriter.html
            deleted:    
api/apidocs/org/apache/orc/examples/class-use/CompressionWriter.html
            deleted:    
api/apidocs/org/apache/orc/examples/class-use/InMemoryEncryptionReader.html
            deleted:    
api/apidocs/org/apache/orc/examples/class-use/InMemoryEncryptionWriter.html
            deleted:    talks/ORC-Deep-Dive-2020.pptx
    ```
    
    ### How was this patch tested?
    
    Manually.
    
    Closes #1347 from dongjoon-hyun/ORC-1336.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 site/_config.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/_config.yml b/site/_config.yml
index 9c068e0e3..8db2b8542 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -12,7 +12,7 @@ tag_url: https://github.com/apache/orc/releases/tag/rel
 dist_archive: https://archive.apache.org/dist/orc
 destination: target
 exclude: [README.md, Gemfile*, Dockerfile]
-keep_files: [.git]
+keep_files: [.git, .asf.yaml, api, talks/ORC-Deep-Dive-2020.pptx]
 highlight_color: "#67cf56"
 
 collections:

Reply via email to