Comments (2)
We discussed this in a meeting with Mariano, and what we want is an option to load a base edition of an Application/Subapplication that is closer to what was versioned instead of using the latest one.
E.g. You're loading YourApplication
from Tonel sources in a git repository, and the git HEAD is at the cf1234ab
commit hash, and its parent commit is e2394a92
, then when looking for a base edition to load, we look for one that matches such commit hash (by means of a pattern, text-search, etc.), so we find YourApplication master-e2394a92
edition and load that instead of the "latest one" (which in some cases might be the same one).
from tonel-vast.
After looking and reading about the internals of git, there is no simple way to extract the parent commits of a particular commit other than to parse directly the binary files in .git/objects/
, in some cases requiring to parse the packfiles.
We would need to extract the commit by calling a git command on the git repository.
So:
$ git cat-file commit HEAD
tree 47b9dc8f9e2cc5da2c09aebf79731e6f35fa7d85
parent c3b72568c09808a298280800c38ba14e0a1c8414
author Esteban A. Maringolo 1577745693 -0300
from tonel-vast.
Related Issues (20)
- Methods with no body but space after selectors fail to export HOT 1
- Prerequisites computation leads to infinite loop HOT 1
- Add options to match versions of configuration maps HOT 2
- Prerequisite comparison in Applications must use defined prerequisites
- Prerequisite modification should be optional
- Add option to avoid writing extension methods categorized with asterisk prefix
- Rebuild namespaces after loading declaration methods
- #readUtf8StreamDo: should allocate enough buffer size
- Remove EsCodePageUtilitiesApp prereq from TonelFileSystem
- Methods that failed to compile should be updated when loading
- Add a setting to ignore extensions to classes not in the image
- Debugger class reset
- TonelLoaderStrategy instVars get reinitialized after copying them
- Applying an app suffix when loading a VAST app doesn't update the Application class name
- Create custom Error Reporter for Tonel Loader
- Use application manager/class owner when modifying ENVY records
- Add option/strategy to define package name when exporting
- Add option to avoid writing extension methods using Monticello categories
- Add support to have nil as superclass identifier
- Provide the ability to file in a single tonel file such as a class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tonel-vast.