Skip to content

Conversation

@yasandu0505
Copy link
Collaborator

I have added/updated the documentations referring to the template.

This PR closes #83

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @yasandu0505, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the project's foundational documentation. It introduces essential community-standard files such as a Code of Conduct, Contributing Guidelines, Security Policy, and the Apache 2.0 License. Concurrently, the README.md has been refactored to be more informative and user-friendly, integrating these new documents and clarifying project setup, usage, and features. The overall aim is to foster a more welcoming and organized environment for contributors and users alike.

Highlights

  • Standardized Documentation: Introduced new foundational documentation files: CODE_OF_CONDUCT.md, CONTRIBUTING.md, LICENSE, and SECURITY.md. These provide clear guidelines for community interaction, contribution processes, licensing terms, and vulnerability reporting, enhancing project governance and clarity.
  • README.md Refinement: The main README.md file has been significantly updated. It now includes informative badges, streamlined 'How It Works' and 'Usage' sections, and direct links to the newly added documentation files, making it more user-friendly and comprehensive.
  • Improved Clarity and Structure: Enhanced descriptions for project features, output directory structure, and log file organization within the README.md. This makes the project easier to understand and navigate for both new users and potential contributors.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly improves the project's documentation by adding standard files like CODE_OF_CONDUCT.md, CONTRIBUTING.md, LICENSE, and SECURITY.md, and by refactoring the README.md. The new structure is much clearer and more welcoming to users and contributors.

My review includes suggestions to fix a few issues such as a broken link, typos, and formatting problems in the documentation. The most critical issue is to fill in the copyright information in the LICENSE file. I've also noticed that several files are missing a final newline character, which is a good practice to add for better compatibility with various tools.

I am having trouble creating individual review comments. Click here to see my feedback.

LICENSE (189)

high

The copyright notice is a placeholder. It's important to fill this in with the correct year and copyright owner for the license to be properly applied.

   Copyright 2024 Lanka Data Foundation

README.md (116)

high

This link for the 'Contributing Guide' incorrectly points to SECURITY.md. It should point to CONTRIBUTING.md.

- Please see our [Contributing Guide](CONTRIBUTING.md).

CODE_OF_CONDUCT.md (31)

medium

Please add a newline at the end of the file. It's a good practice for POSIX-compliance and to avoid issues with some tools.

CONTRIBUTING.md (30-36)

medium

The development setup instructions are commented out. Please uncomment this section and provide the specific steps required to set up the development environment for this project. The current example is a good starting point.

### Development Setup

Provide step-by-step instructions to set up the development environment.
Example:
1. Fork the repository
2. Clone your fork: `git clone https://github.com/your-username/project.git`
3. Install dependencies: `pip install -r requirements.txt`
4. Create a branch: `git checkout -b feature/your-feature-name`

CONTRIBUTING.md (125)

medium

There is a typo in the word "reffer". It should be "refer".

- Please refer to the [Project Documentation](README.md)

CONTRIBUTING.md (129)

medium

Please add a newline at the end of the file. It's a good practice for POSIX-compliance and to avoid issues with some tools.

LICENSE (201)

medium

Please add a newline at the end of the file. It's a good practice for POSIX-compliance and to avoid issues with some tools.

README.md (10-16)

medium

This note about setting the PATH for --user installations is very helpful for users to avoid command not found errors. It was removed in this change. Please consider adding it back.

README.md (77)

medium

There is a typo here. "re-try thm" should be "retry them".

- **Error handling**: Automatic retry for failed downloads and check for unavailable documents and retry them.

README.md (90-96)

medium

The ASCII art for the directory structure in this section is misaligned, which makes it hard to read. The vertical bars should line up correctly.

│   
│   ├── records/
│   │   ├── successfully_archived.csv
│   │   ├── failed_to_archive.csv
│   │   ├── document_unavailable.csv
│   │   └── document_classification.csv
│   └── ...

README.md (129)

medium

Please add a newline at the end of the file. It's a good practice for POSIX-compliance and to avoid issues with some tools.

SECURITY.md (24)

medium

Please add a newline at the end of the file. It's a good practice for POSIX-compliance and to avoid issues with some tools.

@yasandu0505 yasandu0505 requested a review from zaeema-n January 27, 2026 04:11
@yasandu0505 yasandu0505 requested a review from zaeema-n January 28, 2026 04:56
README.md Outdated
Comment on lines 83 to 85
## Output Structure

**4. Go to APIs & Services > Credentials**

**5. Click "Create Credentials" → "OAuth Client ID"**

**6. Choose Desktop App**

**7. Download the file — it's called `credentials.json`**

**8. Create a folder called `credentials` somewhere in your computer**

**9. Place the `credentials.json` inside the `credentials`**

**10. Copy the path and update the config.yaml file**

## ✨ Features

- **Resume capability**: If interrupted, run the same command again to resume downloads
- **Graceful shutdown**: Press `Ctrl+C` to stop after current downloads complete
- **Progress tracking**: Real-time download progress with statistics
- **Smart filtering**: Filter by year, month, day, and language
- **File validation**: Automatic validation of downloaded PDF files
- **Get new updates**: Can get new updates years and other data
- **Organized storage**: Files saved in structured folders: `year/month/day/gazette_id/`
- **Comprehensive logging**: Detailed logs for successful and failed downloads
- **Error handling**: Automatic retry for failed downloads with intelligent error reporting

## 📁 Output Structure

Downloads are organized as:
Downloaded documents are organized as:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This content maybe too much for the README.md it gives unnecessary amount of details in the first glance.

So Follow what is done in https://github.com/ChanukaUOJ/OpenGIN/tree/readme-update?tab=readme-ov-file

And work on this part.

@yasandu0505 yasandu0505 requested a review from vibhatha January 29, 2026 04:15
README.md Outdated

| Feature | Description |
|---------|-------------|
| Document Categorisation | Categorise documents based on their content. |
Copy link
Member

@vibhatha vibhatha Jan 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Document Categorisation | Categorise documents based on their content. |
| Document Categorization | Categorize documents based on their content. |

LICENSE Outdated
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Copyright [yyyy] [name of copyright owner]
Copyright 2026 Lanka Data Foundation

Copy link
Member

@vibhatha vibhatha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yasandu0505 LGTM!

@vibhatha vibhatha merged commit 7bfab48 into LDFLK:main Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactoring the README.md

3 participants