llama-github 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {llama_github-0.2.0 → llama_github-0.2.1}/CHANGELOG.md +5 -0
- {llama_github-0.2.0/llama_github.egg-info → llama_github-0.2.1}/PKG-INFO +6 -1
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/data_retrieval/github_entities.py +82 -8
- llama_github-0.2.1/llama_github/version.py +1 -0
- {llama_github-0.2.0 → llama_github-0.2.1/llama_github.egg-info}/PKG-INFO +6 -1
- {llama_github-0.2.0 → llama_github-0.2.1}/setup.cfg +1 -1
- llama_github-0.2.0/llama_github/version.py +0 -1
- {llama_github-0.2.0 → llama_github-0.2.1}/LICENSE +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/MANIFEST.in +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/README.md +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/config/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/config/config.json +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/config/config.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/data_retrieval/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/data_retrieval/github_api.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/features/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/features/feature_flags.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/features/insider_features.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/github_integration/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/github_integration/github_auth_manager.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/github_rag.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/llm_integration/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/llm_integration/initial_load.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/llm_integration/llm_handler.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/logger.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/rag_processing/__init__.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/rag_processing/rag_processor.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github/utils.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github.egg-info/SOURCES.txt +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github.egg-info/dependency_links.txt +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github.egg-info/requires.txt +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/llama_github.egg-info/top_level.txt +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/setup.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/tests/test_data_retrieval.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/tests/test_github_auth_manager.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/tests/test_initial_load.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/tests/test_llm_handler.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/tests/test_logger.py +0 -0
- {llama_github-0.2.0 → llama_github-0.2.1}/tests/test_rag_processor.py +0 -0
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.1] - 2024-11-16
|
|
9
|
+
|
|
10
|
+
### Optimized
|
|
11
|
+
- approperately handle more file types when calculate file changes in PR
|
|
12
|
+
|
|
8
13
|
## [0.2.0] - 2024-11-16
|
|
9
14
|
|
|
10
15
|
### Optimized
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-github
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
|
|
5
5
|
Home-page: https://github.com/JetXu-LLM/llama-github
|
|
6
6
|
Author: Jet Xu
|
|
@@ -156,6 +156,11 @@ All notable changes to this project will be documented in this file.
|
|
|
156
156
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
157
157
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
158
158
|
|
|
159
|
+
## [0.2.1] - 2024-11-16
|
|
160
|
+
|
|
161
|
+
### Optimized
|
|
162
|
+
- approperately handle more file types when calculate file changes in PR
|
|
163
|
+
|
|
159
164
|
## [0.2.0] - 2024-11-16
|
|
160
165
|
|
|
161
166
|
### Optimized
|
|
@@ -159,14 +159,88 @@ class Repository:
|
|
|
159
159
|
"""
|
|
160
160
|
file_key = f"{file_path}/{sha}" if sha is not None else file_path
|
|
161
161
|
|
|
162
|
-
# Skip
|
|
162
|
+
# Skip files that don't need processing
|
|
163
163
|
if any(file_path.endswith(ext) for ext in [
|
|
164
|
-
|
|
165
|
-
'.
|
|
166
|
-
'.
|
|
167
|
-
'.
|
|
168
|
-
|
|
169
|
-
|
|
164
|
+
# Package manager and dependencies
|
|
165
|
+
'.lock', '.pnpm-lock.yaml', 'package-lock.json', 'Gemfile.lock',
|
|
166
|
+
'poetry.lock', 'Cargo.lock', 'composer.lock',
|
|
167
|
+
'.pyc', '.pyo', 'requirements.txt',
|
|
168
|
+
|
|
169
|
+
# Binaries and compiled files
|
|
170
|
+
'.exe', '.dll', '.so', '.dylib', '.bin', '.obj', '.o', '.a',
|
|
171
|
+
'.lib', '.jar', '.war', '.ear', '.class', '.pdb', '.ilk', '.exp',
|
|
172
|
+
'.apk', '.aab', '.ipa', # Mobile apps
|
|
173
|
+
'.wasm', # WebAssembly
|
|
174
|
+
|
|
175
|
+
# Media and compressed files
|
|
176
|
+
'.png', '.jpg', '.jpeg', '.gif', '.ico', '.bmp', '.tiff', '.webp',
|
|
177
|
+
'.svg', '.eps', '.psd', '.ai', '.sketch',
|
|
178
|
+
'.mp3', '.mp4', '.wav', '.flac', '.ogg', '.m4a',
|
|
179
|
+
'.avi', '.mov', '.mkv', '.webm', '.wmv', '.flv',
|
|
180
|
+
'.pdf', '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx',
|
|
181
|
+
'.zip', '.rar', '.7z', '.tar', '.gz', '.bz2', '.xz', '.tgz',
|
|
182
|
+
|
|
183
|
+
# System and hidden files
|
|
184
|
+
'.DS_Store', 'Thumbs.db', '.dockerignore',
|
|
185
|
+
'.gitattributes', '.gitmodules',
|
|
186
|
+
|
|
187
|
+
# Documentation and resource files
|
|
188
|
+
'.min.js', '.min.css', '.map', '.po', '.mo', '.pot',
|
|
189
|
+
'.ttf', '.otf', '.eot', '.woff', '.woff2', # Fonts
|
|
190
|
+
|
|
191
|
+
# Configuration and data files
|
|
192
|
+
'.conf', '.config', '.cfg', '.ini',
|
|
193
|
+
'.sqlite', '.db', '.mdb', '.sql',
|
|
194
|
+
'.pb', '.pbtxt', # Protocol buffers
|
|
195
|
+
'.ipynb', # Jupyter notebooks
|
|
196
|
+
'.pkl', '.pickle', # Python serialized objects
|
|
197
|
+
'.tfrecords', '.tf', # TensorFlow files
|
|
198
|
+
'.onnx', # ONNX models
|
|
199
|
+
'.h5', '.hdf5', # HDF5 files
|
|
200
|
+
'.npy', '.npz', # NumPy files
|
|
201
|
+
|
|
202
|
+
# Build outputs
|
|
203
|
+
'.min.js', '.min.css',
|
|
204
|
+
'.bundle.js', '.bundle.css',
|
|
205
|
+
'.chunk.js', '.chunk.css'
|
|
206
|
+
|
|
207
|
+
]) or any(pattern in file_path for pattern in [
|
|
208
|
+
# Special directories
|
|
209
|
+
'/node_modules/',
|
|
210
|
+
'/__pycache__/',
|
|
211
|
+
'/.git/',
|
|
212
|
+
'/.idea/',
|
|
213
|
+
'/.vscode/',
|
|
214
|
+
'/.vs/',
|
|
215
|
+
'/.svn/',
|
|
216
|
+
'/.hg/',
|
|
217
|
+
'/dist/',
|
|
218
|
+
'/build/',
|
|
219
|
+
'/target/',
|
|
220
|
+
'/out/',
|
|
221
|
+
'/bin/',
|
|
222
|
+
'/obj/',
|
|
223
|
+
'/Debug/',
|
|
224
|
+
'/Release/',
|
|
225
|
+
'/.next/',
|
|
226
|
+
'/.nuxt/',
|
|
227
|
+
'/vendor/',
|
|
228
|
+
'/venv/',
|
|
229
|
+
'/.env',
|
|
230
|
+
'/coverage/',
|
|
231
|
+
'/logs/',
|
|
232
|
+
'/.github/',
|
|
233
|
+
'/assets/',
|
|
234
|
+
'/public/assets/',
|
|
235
|
+
'/static/assets/',
|
|
236
|
+
'/.pytest_cache/',
|
|
237
|
+
'/.sass-cache/',
|
|
238
|
+
'/.parcel-cache/',
|
|
239
|
+
'/.cache/',
|
|
240
|
+
'/tmp/',
|
|
241
|
+
'/temp/'
|
|
242
|
+
]):
|
|
243
|
+
logger.debug(f"Skipping non-processable file: {file_path}")
|
|
170
244
|
return None
|
|
171
245
|
|
|
172
246
|
if file_key not in self._file_contents: # Check if file content has already been fetched
|
|
@@ -557,7 +631,7 @@ class Repository:
|
|
|
557
631
|
|
|
558
632
|
# Generate custom diff with specified context lines
|
|
559
633
|
if base_content is None and head_content is None:
|
|
560
|
-
custom_diff = ''
|
|
634
|
+
custom_diff = '[SKIPPED] File type not suitable for diff analysis'
|
|
561
635
|
else:
|
|
562
636
|
custom_diff = DiffGenerator.generate_custom_diff(base_content, head_content, context_lines)
|
|
563
637
|
if not custom_diff or custom_diff.strip() == '':
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.2.1'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-github
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
|
|
5
5
|
Home-page: https://github.com/JetXu-LLM/llama-github
|
|
6
6
|
Author: Jet Xu
|
|
@@ -156,6 +156,11 @@ All notable changes to this project will be documented in this file.
|
|
|
156
156
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
157
157
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
158
158
|
|
|
159
|
+
## [0.2.1] - 2024-11-16
|
|
160
|
+
|
|
161
|
+
### Optimized
|
|
162
|
+
- approperately handle more file types when calculate file changes in PR
|
|
163
|
+
|
|
159
164
|
## [0.2.0] - 2024-11-16
|
|
160
165
|
|
|
161
166
|
### Optimized
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = llama-github
|
|
3
|
-
version = 0.2.
|
|
3
|
+
version = 0.2.1
|
|
4
4
|
author = Jet Xu
|
|
5
5
|
author_email = Voldemort.xu@foxmail.com
|
|
6
6
|
description = Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.2.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llama_github-0.2.0 → llama_github-0.2.1}/llama_github/github_integration/github_auth_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|